aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.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/symtab.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/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index ac6535f..42e7f5c 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -424,7 +424,7 @@ minimal_symbol::value_address (objfile *objfile) const
if (this->maybe_copied)
return get_msymbol_address (objfile, this);
else
- return (CORE_ADDR (this->value_raw_address ())
+ return (CORE_ADDR (this->unrelocated_address ())
+ objfile->section_offsets[this->section_index ()]);
}