aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/signals.exp15
2 files changed, 21 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ecb008e..e78e427 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2004-08-08 Daniel Jacobowitz <dan@debian.org>
+ PR gdb/1738
+ * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
+ from a breakpoint with a pending signal.
+
+2004-08-08 Daniel Jacobowitz <dan@debian.org>
+
PR gdb/1736
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
* gdb.base/sigaltstack.exp (finish_test): Consume output until
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"