aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/signals.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-08-09 13:17:34 +0000
committerDaniel Jacobowitz <drow@false.org>2004-08-09 13:17:34 +0000
commit1a5ce3f34d0e90ef839f96d0e41eeea27392dea3 (patch)
treea6ba06a85cc32b562cc3d6ec4456b7db5e413619 /gdb/testsuite/gdb.base/signals.exp
parent04f6ecf27956b4fbd0e660dbdd5b5dd9ccab03d9 (diff)
downloadgdb-1a5ce3f34d0e90ef839f96d0e41eeea27392dea3.zip
gdb-1a5ce3f34d0e90ef839f96d0e41eeea27392dea3.tar.gz
gdb-1a5ce3f34d0e90ef839f96d0e41eeea27392dea3.tar.bz2
PR gdb/1738
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing from a breakpoint with a pending signal.
Diffstat (limited to 'gdb/testsuite/gdb.base/signals.exp')
-rw-r--r--gdb/testsuite/gdb.base/signals.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp
index 803ee78..09354a2 100644
--- a/gdb/testsuite/gdb.base/signals.exp
+++ b/gdb/testsuite/gdb.base/signals.exp
@@ -114,9 +114,24 @@ proc signal_tests_1 {} {
# In running to func2, the 2rd alarm call will have been set
# up, let it be delivered.
+ # This doesn't work correctly on platforms with hardware single
+ # step...
+
sleep 2
+
+ setup_kfail "i*86-*-*" gdb/1738
+ setup_kfail "x86_64-*-*" gdb/1738
+ setup_kfail "rs6000-*-*" gdb/1738
+ setup_kfail "powerpc-*-*" gdb/1738
+ setup_kfail "sparc-*-*" gdb/1738
gdb_test "continue" "Breakpoint.*handler.*" \
"continue to handler for 3rd alarm call"
+
+ setup_kfail "i*86-*-*" gdb/1738
+ setup_kfail "x86_64-*-*" gdb/1738
+ setup_kfail "rs6000-*-*" gdb/1738
+ setup_kfail "powerpc-*-*" gdb/1738
+ setup_kfail "sparc-*-*" gdb/1738
gdb_test "backtrace" \
"#0 handler.*#1.*signal handler called.*#2 func2.*#3.*main.*" \
"backtrace for 3rd alarm"