aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/signals.exp
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-21 22:02:06 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-21 22:02:06 +0000
commit0926990e469c7ccac1eea5b80f00a6c236ddcaae (patch)
tree27129d9b4920da448ff8754d3ae0a550f1bfa059 /gdb/testsuite/gdb.base/signals.exp
parent1968ed139fb991f93c191c963a8d2bf84481325a (diff)
downloadgdb-0926990e469c7ccac1eea5b80f00a6c236ddcaae.zip
gdb-0926990e469c7ccac1eea5b80f00a6c236ddcaae.tar.gz
gdb-0926990e469c7ccac1eea5b80f00a6c236ddcaae.tar.bz2
* gdb.base/signals.exp: Add test for "handle all print".
* TODO: Remove "handle all print". Also remove item about checking copyright date (I don't like the idea of a spurious FAIL based on when we run the tests).
Diffstat (limited to 'gdb/testsuite/gdb.base/signals.exp')
-rw-r--r--gdb/testsuite/gdb.base/signals.exp10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp
index c87d270..c222972 100644
--- a/gdb/testsuite/gdb.base/signals.exp
+++ b/gdb/testsuite/gdb.base/signals.exp
@@ -185,7 +185,7 @@ proc signal_tests_1 {} {
expect {
-re "Breakpoint.*func2.*$prompt $" { pass "continue to func2" }
-re "Breakpoint.*func1.*$prompt $" {
- fail "continue func2"
+ fail "continue to func2"
gdb_test "continue" "Breakpoint.*func2.*" \
"extra continue to func2"
}
@@ -246,6 +246,14 @@ if {[ istarget "m68*-motorola-*" ] || [ istarget "hppa*-*-bsd*" ] ||
gdb_exit
gdb_start
+
+# This will need to be updated as the exact list of signals changes,
+# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
+# TARGET_SIGNAL_UNKNOWN are skipped.
+gdb_test "handle all print" "Signal Stop Print Pass to program Description\r\nSIGHUP Yes Yes Yes Hangup.*SIG63 Yes Yes Yes Real-time event 63"
+
+gdb_exit
+gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
signal_tests_1