aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-20 16:03:05 -0600
committerTom Tromey <tom@tromey.com>2023-03-28 15:12:44 -0600
commit93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1 (patch)
tree6b6b260ef4e16838bc8a0a6df54c37a827bfd37f /gdb/symmisc.c
parent9675da25357c7a3f472731ddc6eb3becc65b469a (diff)
downloadbinutils-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.zip
binutils-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.gz
binutils-93d50cd8f0b59aed37a3a0e69155dd34d5a3c1f1.tar.bz2
Rename "raw" to "unrelocated"
Per an earlier discussion, this patch renames the existing "raw" APIs to use the word "unrelocated" instead.
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 2483d31..3d7fd56 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -201,7 +201,7 @@ dump_msymbols (struct objfile *objfile, struct ui_file *outfile)
/* Use the relocated address as shown in the symbol here -- do
not try to respect copy relocations. */
- CORE_ADDR addr = (CORE_ADDR (msymbol->value_raw_address ())
+ CORE_ADDR addr = (CORE_ADDR (msymbol->unrelocated_address ())
+ objfile->section_offsets[msymbol->section_index ()]);
gdb_puts (paddress (gdbarch, addr), outfile);
gdb_printf (outfile, " %s", msymbol->linkage_name ());