guality.h (main): Avoid GDB being blocked on signals.

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.


Co-Authored-By: Pedro Alves <palves@redhat.com>

From-SVN: r234781
This commit is contained in:
Yvan Roux 2016-04-06 15:07:10 +00:00 committed by Yvan Roux
parent 3866f8dd85
commit 4066ea8a4e
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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.
2016-04-06 Jakub Jelinek <jakub@redhat.com>
* lib/target-supports.exp (check_effective_target_vect_simd_clones):

View file

@ -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\