aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/cu.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-04-20 06:32:26 -0600
committerTom Tromey <tromey@adacore.com>2023-06-05 09:59:18 -0600
commit1e73d09f86dd7a7e7bf24f54358095ff45e47c14 (patch)
tree9aea231d0874a078a2aa83e37eb4a57c4e9f4b0c /gdb/dwarf2/cu.h
parente30deeb0366a978bc45f8c021ef1e51f5e949c87 (diff)
downloadgdb-1e73d09f86dd7a7e7bf24f54358095ff45e47c14.zip
gdb-1e73d09f86dd7a7e7bf24f54358095ff45e47c14.tar.gz
gdb-1e73d09f86dd7a7e7bf24f54358095ff45e47c14.tar.bz2
Use unrelocated_addr in the DWARF reader
This changes various spots in the DWARF reader to use unrelocated_addr.
Diffstat (limited to 'gdb/dwarf2/cu.h')
-rw-r--r--gdb/dwarf2/cu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h
index 8059b70..0c15d8b 100644
--- a/gdb/dwarf2/cu.h
+++ b/gdb/dwarf2/cu.h
@@ -101,7 +101,7 @@ struct dwarf2_cu
struct comp_unit_head header;
/* Base address of this compilation unit. */
- gdb::optional<CORE_ADDR> base_address;
+ gdb::optional<unrelocated_addr> base_address;
/* The language we are debugging. */
const struct language_defn *language_defn = nullptr;