aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/catch-signal.c
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe@sourceware.org>2013-05-03 19:16:56 +0000
committerPhilippe Waroquiers <philippe@sourceware.org>2013-05-03 19:16:56 +0000
commit96f7d3f1666830257f8942c168640ad8cc8b0ea0 (patch)
tree35e928066a65da99419fc053b3da25622d0dadd3 /gdb/testsuite/gdb.base/catch-signal.c
parent1ebff1fdfdbf851157c55915a6a87ba3b3902823 (diff)
downloadgdb-96f7d3f1666830257f8942c168640ad8cc8b0ea0.zip
gdb-96f7d3f1666830257f8942c168640ad8cc8b0ea0.tar.gz
gdb-96f7d3f1666830257f8942c168640ad8cc8b0ea0.tar.bz2
Fix to handle properly 'catch signal SIGINT' and SIGTRAP
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-signal.c')
-rw-r--r--gdb/testsuite/gdb.base/catch-signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/catch-signal.c b/gdb/testsuite/gdb.base/catch-signal.c
index d128958..36d34d2 100644
--- a/gdb/testsuite/gdb.base/catch-signal.c
+++ b/gdb/testsuite/gdb.base/catch-signal.c
@@ -42,5 +42,7 @@ main ()
raise (SIGHUP); /* third HUP */
raise (SIGHUP); /* fourth HUP */
+
+ raise (SIGINT); /* first INT */
}