This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3/4] fix DW_OP_GNU_implicit_pointer pointing to a constant


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]