diff options
author | Tom Tromey <tromey@adacore.com> | 2019-07-01 12:02:37 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-07-15 09:28:59 -0600 |
commit | ca8d69beb1024316af8dec571584437d613f40d2 (patch) | |
tree | 489c8f821a6055053b61c6c21e122b013c0b6f30 /gdb/sparc64-linux-tdep.c | |
parent | cpu,opcodes,gas: fix explicit arguments to eBPF ldabs instructions (diff) | |
download | binutils-gdb-ca8d69beb1024316af8dec571584437d613f40d2.tar.gz binutils-gdb-ca8d69beb1024316af8dec571584437d613f40d2.tar.bz2 binutils-gdb-ca8d69beb1024316af8dec571584437d613f40d2.zip |
Use field_core_addr in more places
This changes a few spots that use field_fmt to use field_core_addr
instead.
gdb/ChangeLog
2019-07-15 Tom Tromey <tromey@adacore.com>
* target.c (flash_erase_command): Use field_core_addr.
* symfile.c (generic_load): Use field_core_addr.
* sparc64-linux-tdep.c (sparc64_linux_handle_segmentation_fault):
Use field_core_addr.
* i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Use
field_core_addr.
Diffstat (limited to 'gdb/sparc64-linux-tdep.c')
-rw-r--r-- | gdb/sparc64-linux-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/sparc64-linux-tdep.c b/gdb/sparc64-linux-tdep.c index 158db97ec61..563d21e4b4c 100644 --- a/gdb/sparc64-linux-tdep.c +++ b/gdb/sparc64-linux-tdep.c @@ -150,19 +150,19 @@ sparc64_linux_handle_segmentation_fault (struct gdbarch *gdbarch, uiout->text ("\n"); uiout->field_string ("sigcode-meaning", _("ADI disabled")); uiout->text (_(" while accessing address ")); - uiout->field_fmt ("bound-access", "%s", paddress (gdbarch, addr)); + uiout->field_core_addr ("bound-access", gdbarch, addr); break; case SEGV_ADIDERR: /* disrupting mismatch */ uiout->text ("\n"); uiout->field_string ("sigcode-meaning", _("ADI deferred mismatch")); uiout->text (_(" while accessing address ")); - uiout->field_fmt ("bound-access", "%s", paddress (gdbarch, addr)); + uiout->field_core_addr ("bound-access", gdbarch, addr); break; case SEGV_ADIPERR: /* precise mismatch */ uiout->text ("\n"); uiout->field_string ("sigcode-meaning", _("ADI precise mismatch")); uiout->text (_(" while accessing address ")); - uiout->field_fmt ("bound-access", "%s", paddress (gdbarch, addr)); + uiout->field_core_addr ("bound-access", gdbarch, addr); break; default: break; |