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: [patch] Fix implicit pointer offsets


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> 2011-07-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	Fix implicit pointer offsets.
Jan> 	* dwarf2loc.c (indirect_pieced_value): Comment byte_offset.  Use also
Jan> 	ptr.OFFSET.

Jan> gdb/testsuite/
Jan> 2011-07-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

Jan> 	Fix implicit pointer offsets.
Jan> 	* gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
Jan> 	* gdb.dwarf2/implptr.exp ( set baz breakpoint for implptr)
Jan> 	(continue to breakpoint: continue to baz breakpoint for implptr)
Jan> 	(sanity check element 0, sanity check element 1)
Jan> 	(enter the inlined function, check element 0 for the offset)
Jan> 	(check element 1 for the offset)
Jan> 	(continue to breakpoint: ignore the second baz breakpoint): New tests.
Jan> 	(set foo breakpoint for implptr): Update the breakpoint number.

Thanks Jan.  This looks good to me.

Tom


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