aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/expand-sals.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-12-24 21:57:06 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-12-24 21:57:06 +0000
commit3f78692f4a18555218035e70af3d9b31251bbfcc (patch)
treec10e477b28730c5d6453c919b2478735d83ea607 /gdb/testsuite/gdb.cp/expand-sals.exp
parentcbc999b90f8fe82cc2d2e25926e51c410d158703 (diff)
downloadgdb-3f78692f4a18555218035e70af3d9b31251bbfcc.zip
gdb-3f78692f4a18555218035e70af3d9b31251bbfcc.tar.gz
gdb-3f78692f4a18555218035e70af3d9b31251bbfcc.tar.bz2
gdb/testsuite/
Fix compatibility with G++-4.5. * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment. * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line". (uncaught return): Remove.
Diffstat (limited to 'gdb/testsuite/gdb.cp/expand-sals.exp')
-rw-r--r--gdb/testsuite/gdb.cp/expand-sals.exp6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.cp/expand-sals.exp b/gdb/testsuite/gdb.cp/expand-sals.exp
index 3c302c3..741e7bc 100644
--- a/gdb/testsuite/gdb.cp/expand-sals.exp
+++ b/gdb/testsuite/gdb.cp/expand-sals.exp
@@ -23,8 +23,6 @@ if ![runto_main] {
return -1
}
-gdb_breakpoint [gdb_get_line_number "exit-line"]
-
gdb_breakpoint [gdb_get_line_number "func-line"]
gdb_continue_to_breakpoint "func" ".*func-line.*"
@@ -52,7 +50,3 @@ gdb_test "bt" \
"bt from A"
gdb_continue_to_breakpoint "next caller func" ".*func-line.*"
-
-# Verify GDB really could not catch any other breakpoint location.
-
-gdb_continue_to_breakpoint "uncaught return" ".*exit-line.*"