aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-12-14 18:26:00 +0000
committerDoug Evans <dje@google.com>2012-12-14 18:26:00 +0000
commitf8c05d0d192df972af6b1c14aaf9dc8743cfe72e (patch)
tree121d1d9b6925f821bf88c2b3f1f541057860844f /gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
parent1993b71979c5e9cb66b067abfcb003b5d5cdab03 (diff)
downloadgdb-f8c05d0d192df972af6b1c14aaf9dc8743cfe72e.zip
gdb-f8c05d0d192df972af6b1c14aaf9dc8743cfe72e.tar.gz
gdb-f8c05d0d192df972af6b1c14aaf9dc8743cfe72e.tar.bz2
* gdb.dwarf2/implptr-optimized-out.S: DIE offset for
DW_OP_GNU_implicit_pointer is section-relative.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S')
-rw-r--r--gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S b/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
index 2f268b1..56dfd2a 100644
--- a/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
+++ b/gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S
@@ -66,7 +66,7 @@ d:
.byte 2f - 1f /* DW_AT_location: DW_FORM_block1 */
1:
.byte 0xf2 /* DW_OP_GNU_implicit_pointer */
- .4byte .Lvar_out - d /* referenced DIE */
+ .4byte .Lvar_out /* referenced DIE, section-relative! */
.sleb128 0 /* offset */
2:
.4byte .Ltype_structptr - d /* DW_AT_type */