OLD | NEW |
1 /* This testcase is part of GDB, the GNU debugger. | 1 /* This testcase is part of GDB, the GNU debugger. |
2 | 2 |
3 Copyright 1996, 1999, 2003-2004, 2007-2012 Free Software Foundation, | 3 Copyright 1996-2013 Free Software Foundation, Inc. |
4 Inc. | |
5 | 4 |
6 This program is free software; you can redistribute it and/or modify | 5 This program is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 6 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3 of the License, or | 7 the Free Software Foundation; either version 3 of the License, or |
9 (at your option) any later version. | 8 (at your option) any later version. |
10 | 9 |
11 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 13 GNU General Public License for more details. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 act.sa_handler = keeper; | 78 act.sa_handler = keeper; |
80 sigaction (SIGSEGV, &act, NULL); | 79 sigaction (SIGSEGV, &act, NULL); |
81 sigaction (SIGBUS, &act, NULL); | 80 sigaction (SIGBUS, &act, NULL); |
82 | 81 |
83 for (i = 0; i < 10; i++) | 82 for (i = 0; i < 10; i++) |
84 { | 83 { |
85 sigsetjmp (env, 1); | 84 sigsetjmp (env, 1); |
86 bowler (); | 85 bowler (); |
87 } | 86 } |
88 } | 87 } |
OLD | NEW |