diff options
Diffstat (limited to 'gdb/riscv-tdep.c')
-rw-r--r-- | gdb/riscv-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index 5c04a74..797ca72 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -2121,8 +2121,8 @@ riscv_push_dummy_call (struct gdbarch *gdbarch, call_info.memory.arg_offset); fprintf_unfiltered (gdb_stdlog, "Stack required (for refs): 0x%x\n", call_info.memory.ref_offset); - fprintf_unfiltered (gdb_stdlog, " Stack allocated: 0x%lx\n", - (osp - sp)); + fprintf_unfiltered (gdb_stdlog, " Stack allocated: %s\n", + core_addr_to_string_nz (osp - sp)); } } |