From patchwork Tue Jun 23 18:30:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 7310 Received: (qmail 33959 invoked by alias); 23 Jun 2015 18:30:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 33876 invoked by uid 89); 23 Jun 2015 18:30:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 23 Jun 2015 18:30:18 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 424863408A6 for ; Tue, 23 Jun 2015 18:30:16 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: trace: do not enable internal debug by default Date: Tue, 23 Jun 2015 14:30:14 -0400 Message-Id: <1435084214-21452-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes Since --trace-debug is for people hacking on the sim sources rather than people just using the sim, default it to off. This matches the behavior of other debug knobs we have. Committed. --- sim/common/ChangeLog | 4 ++++ sim/common/sim-config.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 0f0773d..c0ddbca 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2015-06-23 Mike Frysinger + * sim-config.h (WITH_TRACE): Define to ~TRACE_debug. + +2015-06-23 Mike Frysinger + * cgen-trace.c [!__STDC__]: Delete. * sim-trace.h [!__STDC__]: Likewise. diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h index bf7428c..f4fe076 100644 --- a/sim/common/sim-config.h +++ b/sim/common/sim-config.h @@ -487,10 +487,10 @@ extern int current_floating_point; #endif /* Include the tracing code. Disabling this eliminates all tracing - code */ + code. Default to all tracing but internal debug. */ #ifndef WITH_TRACE -#define WITH_TRACE (-1) +#define WITH_TRACE (~TRACE_debug) #endif /* Include the profiling code. Disabling this eliminates all profiling