aboutsummaryrefslogtreecommitdiff
path: root/gdb/arc-tdep.c
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2016-10-05 13:06:08 +0300
committerAnton Kolesov <Anton.Kolesov@synopsys.com>2016-10-05 13:07:44 +0300
commited2f09e183df513e9616c53cdace32cf8b824b98 (patch)
treea64bd26e567ccf4bec668b982addb3783e19e825 /gdb/arc-tdep.c
parentc1d0b70ae517512a77eed778c6dd7d8a941962fc (diff)
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.
Diffstat (limited to 'gdb/arc-tdep.c')
-rw-r--r--gdb/arc-tdep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 7bb93adb36..60a4e0442d 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);