diff options
author | Tom Tromey <tromey@adacore.com> | 2023-04-20 06:32:26 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-06-05 09:59:18 -0600 |
commit | 1e73d09f86dd7a7e7bf24f54358095ff45e47c14 (patch) | |
tree | 9aea231d0874a078a2aa83e37eb4a57c4e9f4b0c /gdb/dwarf2/die.c | |
parent | e30deeb0366a978bc45f8c021ef1e51f5e949c87 (diff) | |
download | gdb-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/die.c')
-rw-r--r-- | gdb/dwarf2/die.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/die.c b/gdb/dwarf2/die.c index d409d24..bba2976 100644 --- a/gdb/dwarf2/die.c +++ b/gdb/dwarf2/die.c @@ -91,7 +91,7 @@ dump_die_shallow (struct ui_file *f, int indent, struct die_info *die) case DW_FORM_addrx: case DW_FORM_GNU_addr_index: gdb_printf (f, "address: "); - gdb_puts (hex_string (die->attrs[i].as_address ()), f); + gdb_puts (hex_string ((CORE_ADDR) die->attrs[i].as_address ()), f); break; case DW_FORM_block2: case DW_FORM_block4: |