This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] arc: Remove annoying debug message
- From: Anton Kolesov <akolesov at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 5 Oct 2016 10:11:06 -0000
- Subject: [binutils-gdb] arc: Remove annoying debug message
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ed2f09e183df513e9616c53cdace32cf8b824b98
commit ed2f09e183df513e9616c53cdace32cf8b824b98
Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Date: Wed Oct 5 13:06:08 2016 +0300
arc: Remove annoying debug message
The 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.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/arc-tdep.c | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5ff5f2b..357f648 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-05 Anton Kolesov <anton.kolesov@synopsys.com>
+
+ arc-tdep.c (arc_frame_prev_register): Remove annoying log message.
+
2016-10-05 Yao Qi <yao.qi@linaro.org>
* features/Makefile (WHICH): Add
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);