aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
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/mipsread.c
parent1ee8702db9cb2a329c9df0938667e2415b0c9e46 (diff)
downloadgdb-9675da25357c7a3f472731ddc6eb3becc65b469a.zip
gdb-9675da25357c7a3f472731ddc6eb3becc65b469a.tar.gz
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/mipsread.c')
-rw-r--r--gdb/mipsread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 5c2c88e..efff284 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -358,7 +358,7 @@ read_alphacoff_dynamic_symtab (minimal_symbol_reader &reader,
}
}
- reader.record (name, sym_value, ms_type);
+ reader.record (name, unrelocated_addr (sym_value), ms_type);
}
}