aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/comp-unit-head.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/comp-unit-head.c')
-rw-r--r--gdb/dwarf2/comp-unit-head.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/comp-unit-head.c b/gdb/dwarf2/comp-unit-head.c
index 2deceb5..32dd60a 100644
--- a/gdb/dwarf2/comp-unit-head.c
+++ b/gdb/dwarf2/comp-unit-head.c
@@ -193,11 +193,11 @@ read_and_check_comp_unit_head (dwarf2_per_objfile *per_objfile,
return info_ptr;
}
-CORE_ADDR
+unrelocated_addr
comp_unit_head::read_address (bfd *abfd, const gdb_byte *buf,
unsigned int *bytes_read) const
{
- CORE_ADDR retval = 0;
+ ULONGEST retval = 0;
if (signed_addr_p)
{
@@ -238,5 +238,5 @@ comp_unit_head::read_address (bfd *abfd, const gdb_byte *buf,
}
*bytes_read = addr_size;
- return retval;
+ return (unrelocated_addr) retval;
}