This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 06 May 2013 13:40:10 -0600
- Subject: Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant
- References: <87vc7ukvl0 dot fsf at fleche dot redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> * dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
Tom> (indirect_pieced_value): Call dwarf2_fetch_constant_bytes
Tom> if needed.
Tom> * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
Tom> * dwarf2read.c (write_constant_as_bytes)
Tom> (dwarf2_fetch_constant_bytes): New functions.
Tom> * gdb.dwarf2/implptrconst.c: New file.
Tom> * gdb.dwarf2/implptrconst.exp: New file.
Tom> * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
Tom> (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
Tom> (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
I'm checking this in now.
Tom