]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/gdb.dwarf2/implptr.c
gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 25 Jul 2011 16:04:53 +0000 (16:04 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 25 Jul 2011 16:04:53 +0000 (16:04 +0000)
commit543305c9cd7417b50b1e6d1fce6c7e0e44741bf4
tree9362b4af6cd7e359cf25eef80294b924cd8c249e
parentc0a91b2b1432c7ecd7dfb558f9c37b6798b234d0
gdb/
Fix implicit pointer offsets.
* dwarf2loc.c (indirect_pieced_value): Comment byte_offset.  Use also
ptr.OFFSET.

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