diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-04-07 14:19:27 +0200 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2016-04-11 09:02:47 +0000 |
commit | ae8b02db23615450ff366c4708a9aca0dc0ebc46 (patch) | |
tree | f0cafbca83c635a7477b0dc4e0267cbb2375374d | |
parent | 25eab5a975094e334c29cc6fb9632e72cf3652df (diff) |
gcc/testsuite/
Backport from trunk r234781.
2016-04-06 Yvan Roux <yvan.roux@linaro.org>
Pedro Alves <palves@redhat.com>
* gcc.dg/guality/guality.h (main): Avoid GDB being blocked on signals.
Change-Id: Iecc732dc78f359fbc1213be6eff7e8aa1167e342
-rw-r--r-- | gcc/testsuite/gcc.dg/guality/guality.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/guality/guality.h b/gcc/testsuite/gcc.dg/guality/guality.h index 52fa706ffe3..d5867d8ba96 100644 --- a/gcc/testsuite/gcc.dg/guality/guality.h +++ b/gcc/testsuite/gcc.dg/guality/guality.h @@ -252,6 +252,10 @@ main (int argc, char *argv[]) if (!guality_gdb_input || fprintf (guality_gdb_input, "\ set height 0\n\ +handle SIGINT pass nostop\n\ +handle SIGTERM pass nostop\n\ +handle SIGSEGV pass nostop\n\ +handle SIGBUS pass nostop\n\ attach %i\n\ set guality_attached = 1\n\ b %i\n\ |