OSDN Git Service

gdb/
authorjkratoch <jkratoch>
Mon, 25 Jul 2011 16:04:52 +0000 (16:04 +0000)
committerjkratoch <jkratoch>
Mon, 25 Jul 2011 16:04:52 +0000 (16:04 +0000)
commita40ad1a9e8cfdab9877c7f6e30bfc46cfc462bd3
tree75a5d8fc63a1ef3d70b870e24c2dc30176c218b9
parent21d13cfd6f94ce0bc3ba6e50a9e7877a84a1c784
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