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/attribute.h | |
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/attribute.h')
-rw-r--r-- | gdb/dwarf2/attribute.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/attribute.h b/gdb/dwarf2/attribute.h index e13822a..4cfdaa1 100644 --- a/gdb/dwarf2/attribute.h +++ b/gdb/dwarf2/attribute.h @@ -45,7 +45,7 @@ struct attribute { /* Read the given attribute value as an address, taking the attribute's form into account. */ - CORE_ADDR as_address () const; + unrelocated_addr as_address () const; /* If the attribute has a string form, return the string value; otherwise return NULL. */ @@ -261,7 +261,7 @@ struct attribute } /* Set this attribute to an address. */ - void set_address (CORE_ADDR addr) + void set_address (unrelocated_addr addr) { gdb_assert (form == DW_FORM_addr || ((form == DW_FORM_addrx @@ -319,7 +319,7 @@ struct attribute struct dwarf_block *blk; ULONGEST unsnd; LONGEST snd; - CORE_ADDR addr; + unrelocated_addr addr; ULONGEST signature; } u; |