From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34771 invoked by alias); 30 Sep 2016 18:00:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 34747 invoked by uid 89); 30 Sep 2016 18:00:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=increasing X-HELO: smtprelay.synopsys.com Received: from smtprelay4.synopsys.com (HELO smtprelay.synopsys.com) (198.182.47.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Sep 2016 17:59:59 +0000 Received: from dc8secmta2.synopsys.com (dc8secmta2.synopsys.com [10.13.218.202]) by smtprelay.synopsys.com (Postfix) with ESMTP id 0560724E0BBB for ; Fri, 30 Sep 2016 10:59:58 -0700 (PDT) Received: from dc8secmta2.internal.synopsys.com (dc8secmta2.internal.synopsys.com [127.0.0.1]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id EC24EA4112 for ; Fri, 30 Sep 2016 10:59:57 -0700 (PDT) Received: from mailhost.synopsys.com (unknown [10.13.184.66]) by dc8secmta2.internal.synopsys.com (Service) with ESMTP id CDF56A4102 for ; Fri, 30 Sep 2016 10:59:57 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id BEFD1DA2; Fri, 30 Sep 2016 10:59:57 -0700 (PDT) Received: from akolesov-lab.internal.synopsys.com (akolesov-lab.internal.synopsys.com [10.121.8.134]) by mailhost.synopsys.com (Postfix) with ESMTP id A4BC9D99; Fri, 30 Sep 2016 10:59:56 -0700 (PDT) From: Anton Kolesov To: gdb-patches@sourceware.org Cc: Anton Kolesov , Francois Bedard Subject: [PATCH] arc: Remove annoying debug message Date: Fri, 30 Sep 2016 18:47:00 -0000 Message-Id: <1475258387-26605-1-git-send-email-Anton.Kolesov@synopsys.com> X-SW-Source: 2016-09/txt/msg00437.txt.bz2 This logging message is called too often - once for each register when it's value has to be evaluated. This floods the screen for commands like "info register all", but doesn't give really any help at debugging GDB issues. Between increasing the debug level of this message and removing it altogether I think that removing it is preferable. gdb/ChangeLog: arc-tdep.c (arc_frame_prev_register): Remove annoying log message. --- gdb/arc-tdep.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c index 7bb93ad..60a4e04 100644 --- a/gdb/arc-tdep.c +++ b/gdb/arc-tdep.c @@ -876,9 +876,6 @@ static struct value * arc_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum) { - if (arc_debug) - debug_printf ("arc: frame_prev_register (regnum = %d)\n", regnum); - if (*this_cache == NULL) *this_cache = arc_make_frame_cache (this_frame); struct arc_frame_cache *cache = (struct arc_frame_cache *) (*this_cache); -- 2.8.1