aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-19 10:24:27 -0600
committerTom Tromey <tom@tromey.com>2023-03-28 15:12:44 -0600
commit9675da25357c7a3f472731ddc6eb3becc65b469a (patch)
tree54d600ccb876d7db6056c0aa97b7579878027f18 /gdb/minsyms.h
parent1ee8702db9cb2a329c9df0938667e2415b0c9e46 (diff)
downloadfsf-binutils-gdb-9675da25357c7a3f472731ddc6eb3becc65b469a.zip
fsf-binutils-gdb-9675da25357c7a3f472731ddc6eb3becc65b469a.tar.gz
fsf-binutils-gdb-9675da25357c7a3f472731ddc6eb3becc65b469a.tar.bz2
Use unrelocated_addr in minimal symbols
This changes minimal symbols to use unrelocated_addr. I believe this detected a latent bug in add_pe_forwarded_sym.
Diffstat (limited to 'gdb/minsyms.h')
-rw-r--r--gdb/minsyms.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/minsyms.h b/gdb/minsyms.h
index e908149..59c276f 100644
--- a/gdb/minsyms.h
+++ b/gdb/minsyms.h
@@ -120,7 +120,7 @@ class minimal_symbol_reader
struct minimal_symbol *record_full (gdb::string_view name,
bool copy_name,
- CORE_ADDR address,
+ unrelocated_addr address,
enum minimal_symbol_type ms_type,
int section);
@@ -131,7 +131,7 @@ class minimal_symbol_reader
This variant does not return the new symbol. */
- void record (const char *name, CORE_ADDR address,
+ void record (const char *name, unrelocated_addr address,
enum minimal_symbol_type ms_type);
/* Like record_full, but:
@@ -140,7 +140,7 @@ class minimal_symbol_reader
This variant does not return the new symbol. */
- void record_with_info (const char *name, CORE_ADDR address,
+ void record_with_info (const char *name, unrelocated_addr address,
enum minimal_symbol_type ms_type,
int section)
{