MIPS: Keep the ISA bit in compressed code addresses
[deliverable/binutils-gdb.git] / gdb / dwarf2loc.c
index 6e461bcdccf0ed8ef723508d0245f86d7729ffe5..fbaa7d30aac2c6a8ca95454a646e05cf406bfc86 100644 (file)
@@ -4296,6 +4296,9 @@ loclist_describe_location (struct symbol *symbol, CORE_ADDR addr,
       low += base_address;
       high += base_address;
 
+      low = gdbarch_adjust_dwarf2_addr (gdbarch, low);
+      high = gdbarch_adjust_dwarf2_addr (gdbarch, high);
+
       length = extract_unsigned_integer (loc_ptr, 2, byte_order);
       loc_ptr += 2;
 
This page took 0.027362 seconds and 4 git commands to generate.