aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-21 09:36:54 -0600
committerTom Tromey <tromey@adacore.com>2023-06-05 09:59:18 -0600
commit0434c3ef8dc4cfa17e6bce21da206e312f5722fb (patch)
tree26d7ef80161a08f1797f880f329a67e6685ea23b /gdb/symmisc.c
parentd8175bcb7e35fb98ef40c458c8475a6d7122d813 (diff)
downloadbinutils-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.zip
binutils-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.tar.gz
binutils-0434c3ef8dc4cfa17e6bce21da206e312f5722fb.tar.bz2
Use "unrelocated" terminology in linetable_entry
I forgot to convert struct linetable_entry to use the "unrelocated" (as opposed to "raw") terminology. This patch corrects the oversight.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index ff7f31f..a2f9027 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -996,7 +996,7 @@ maintenance_print_one_line_table (struct symtab *symtab, void *data)
uiout->field_core_addr ("rel-address", objfile->arch (),
item->pc (objfile));
uiout->field_core_addr ("unrel-address", objfile->arch (),
- CORE_ADDR (item->raw_pc ()));
+ CORE_ADDR (item->unrelocated_pc ()));
uiout->field_string ("is-stmt", item->is_stmt ? "Y" : "");
uiout->field_string ("prologue-end", item->prologue_end ? "Y" : "");
uiout->text ("\n");