gdb/riscv: Additional print format string fixes
Another riscv format string fix. gdb/ChangeLog: * riscv-tdep.c (riscv_push_dummy_call): Use core_addr_to_string_nz where appropriate.
This commit is contained in:
parent
cab5bb9d1f
commit
fb29465572
|
@ -1,3 +1,8 @@
|
||||||
|
2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
|
* riscv-tdep.c (riscv_push_dummy_call): Use core_addr_to_string_nz
|
||||||
|
where appropriate.
|
||||||
|
|
||||||
2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||||
|
|
||||||
* riscv-tdep.c (riscv_print_arg_location): Add header comment,
|
* riscv-tdep.c (riscv_print_arg_location): Add header comment,
|
||||||
|
|
|
@ -2121,8 +2121,8 @@ riscv_push_dummy_call (struct gdbarch *gdbarch,
|
||||||
call_info.memory.arg_offset);
|
call_info.memory.arg_offset);
|
||||||
fprintf_unfiltered (gdb_stdlog, "Stack required (for refs): 0x%x\n",
|
fprintf_unfiltered (gdb_stdlog, "Stack required (for refs): 0x%x\n",
|
||||||
call_info.memory.ref_offset);
|
call_info.memory.ref_offset);
|
||||||
fprintf_unfiltered (gdb_stdlog, " Stack allocated: 0x%lx\n",
|
fprintf_unfiltered (gdb_stdlog, " Stack allocated: %s\n",
|
||||||
(osp - sp));
|
core_addr_to_string_nz (osp - sp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue