diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-05-07 11:49:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-05-07 11:49:05 +0000 |
commit | b18be20d0aadff1e7c5b4d161177481aa61b9fc4 (patch) | |
tree | b3807e7e3e98d6155edff77c65a25c93542aee32 /gdb/testsuite/gdb.cp | |
parent | dda9b909e68c77cae3ad23e67b8acd5809652997 (diff) | |
download | gdb-b18be20d0aadff1e7c5b4d161177481aa61b9fc4.zip gdb-b18be20d0aadff1e7c5b4d161177481aa61b9fc4.tar.gz gdb-b18be20d0aadff1e7c5b4d161177481aa61b9fc4.tar.bz2 |
* Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
* NEWS: Mention improved C++ thunk support.
* c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
* cp-abi.c (cplus_skip_trampoline): New.
* cp-abi.h (cplus_skip_trampoline): New prototype.
(struct cp_abi_ops): Add skip_trampoline member.
* gnu-v3-abi.c (gnuv3_skip_trampoline): New.
(init_gnuv3_ops): Set skip_trampoline.
* gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/virtfunc.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp index 6f7a6e9..4b1472e 100644 --- a/gdb/testsuite/gdb.cp/virtfunc.exp +++ b/gdb/testsuite/gdb.cp/virtfunc.exp @@ -254,6 +254,10 @@ proc do_tests {} { gdb_breakpoint test_calls gdb_test "continue" ".*Breakpoint .* test_calls.*" "" test_virtual_calls + + gdb_test "next" ".*pAa->f.*" "next to pAa->f call" + gdb_test "next" ".*pDe->vg.*" "next to pDe->vg call" + gdb_test "step" ".*E::vg.*" "step through thunk into E::vg" } do_tests |