This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix implicit pointer offsets
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 25 Jul 2011 09:12:37 -0600
- Subject: Re: [patch] Fix implicit pointer offsets
- References: <20110724211142.GA2913@host1.jankratochvil.net>
>>>>> "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