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.
This commit is contained in:
Anton Kolesov 2016-10-05 13:06:08 +03:00
parent c1d0b70ae5
commit ed2f09e183
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);