* dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
authorTom Tromey <tromey@redhat.com>
Mon, 6 May 2013 19:44:04 +0000 (19:44 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 6 May 2013 19:44:04 +0000 (19:44 +0000)
commitb6807d988a28dc2718bae1abba1f28779bc0c3c3
treebb4adece022138ab739318623eec8dce672a03b8
parent3aef2284c6976e2b497d5e712cf0cedcc14bed58
* dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
(indirect_pieced_value): Call dwarf2_fetch_constant_bytes
if needed.
* dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
* dwarf2read.c (write_constant_as_bytes)
(dwarf2_fetch_constant_bytes): New functions.
gdb/testsuite
* gdb.dwarf2/implptrconst.c: New file.
* gdb.dwarf2/implptrconst.exp: New file.
* lib/dwarf.exp (Dwarf::_nz_quote): New proc.
(Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
(Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
gdb/ChangeLog
gdb/dwarf2loc.c
gdb/dwarf2loc.h
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/implptrconst.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/implptrconst.exp [new file with mode: 0644]
gdb/testsuite/lib/dwarf.exp
This page took 0.028183 seconds and 4 git commands to generate.