arc: Log "pc" value in "arc_skip_prologue"

Log the "pc" address upon entering "arc_skip_prologue".

gdb/ChangeLog:

	* arc-tdep.c (arc_skip_prologue): Log "pc" address.
This commit is contained in:
Anton Kolesov 2017-06-28 13:15:46 +03:00 committed by Shahab Vahedi
parent 4ca40594f9
commit d56834cbfb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
* arc-tdep.c (arc_skip_prologue): Log "pc" address.
2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
Simon Marchi <simon.marchi@polymtl.ca>
Tom de Vries <tdevries@suse.de>

View File

@ -1472,7 +1472,7 @@ const static int MAX_PROLOGUE_LENGTH
static CORE_ADDR
arc_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
{
arc_debug_printf ("called");
arc_debug_printf ("pc = %s", paddress (gdbarch, pc));
CORE_ADDR func_addr;
const char *func_name;