Browse Source

* gdb.dwarf2/implptr-optimized-out.S: DIE offset for

DW_OP_GNU_implicit_pointer is section-relative.
gdb_7_6-branch
Doug Evans 14 years ago
parent
commit
f8c05d0d19
  1. 5
      gdb/testsuite/ChangeLog
  2. 2
      gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S

5
gdb/testsuite/ChangeLog

@ -1,3 +1,8 @@
2012-12-14 Doug Evans <dje@google.com>
* gdb.dwarf2/implptr-optimized-out.S: DIE offset for
DW_OP_GNU_implicit_pointer is section-relative.
2012-12-14 Tom Tromey <tromey@redhat.com>
* gdb.base/info-proc.exp: Add core file tests.

2
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 */

Loading…
Cancel
Save