diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 981ee1405e..d360c7c4b8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-08-29 Tom Tromey + + * csky-tdep.c (csky_analyze_prologue): Use + core_addr_to_string_nz. + 2018-08-29 Tom Tromey * windows-nat.c (struct xlate_exception) : Change type to diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index 972ac59aff..95bcead877 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -1103,8 +1103,8 @@ csky_analyze_prologue (struct gdbarch *gdbarch, "csky: found stack adjustment of" " 0x%x bytes.\n", adjust); fprintf_unfiltered (gdb_stdlog, - "csky: skipping to new address " - "0x%lx\n", addr); + "csky: skipping to new address %s\n", + core_addr_to_string_nz (addr)); fprintf_unfiltered (gdb_stdlog, "csky: continuing\n"); } @@ -1415,8 +1415,8 @@ csky_analyze_prologue (struct gdbarch *gdbarch, "found stack adjustment of 0x%x" " bytes.\n", adjust); fprintf_unfiltered (gdb_stdlog, "csky: " - "skipping to new address 0x%lx\n", - addr); + "skipping to new address %s\n", + core_addr_to_string_nz (addr)); fprintf_unfiltered (gdb_stdlog, "csky: continuing\n"); } continue;