| 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 2004-2005, 2007-2012 Free Software Foundation, Inc. | 3 # Copyright 2004-2005, 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 # 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 |
| 6 # 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 |
| 7 # the Free Software Foundation; either version 3 of the License, or | 7 # the Free Software Foundation; either version 3 of the License, or |
| 8 # (at your option) any later version. | 8 # (at your option) any later version. |
| 9 # | 9 # |
| 10 # 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, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 # For recovery, sigjmp/longjmp are used. | 26 # For recovery, sigjmp/longjmp are used. |
| 27 | 27 |
| 28 # This also tests backtrace/gdb1476. | 28 # This also tests backtrace/gdb1476. |
| 29 | 29 |
| 30 if [target_info exists gdb,nosignals] { | 30 if [target_info exists gdb,nosignals] { |
| 31 verbose "Skipping signull.exp because of nosignals." | 31 verbose "Skipping signull.exp because of nosignals." |
| 32 continue | 32 continue |
| 33 } | 33 } |
| 34 | 34 |
| 35 if $tracelevel { | |
| 36 strace $tracelevel | |
| 37 } | |
| 38 | |
| 39 | 35 |
| 40 set testfile "signull" | 36 set testfile "signull" |
| 41 set srcfile ${testfile}.c | 37 set srcfile ${testfile}.c |
| 42 set binfile ${objdir}/${subdir}/${testfile} | 38 set binfile ${objdir}/${subdir}/${testfile} |
| 43 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu
g}] != "" } { | 39 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debu
g}] != "" } { |
| 44 untested signull.exp | 40 untested signull.exp |
| 45 return -1 | 41 return -1 |
| 46 } | 42 } |
| 47 | 43 |
| 48 gdb_exit | 44 gdb_exit |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 119 |
| 124 test_segv "data read" data_read \ | 120 test_segv "data read" data_read \ |
| 125 {#0 .* bowler .*#1 .* main .*} \ | 121 {#0 .* bowler .*#1 .* main .*} \ |
| 126 {#0 .* keeper .*#1 .* handler .*#2 .* bowler .*#3 .* main .*} | 122 {#0 .* keeper .*#1 .* handler .*#2 .* bowler .*#3 .* main .*} |
| 127 test_segv "data write" data_write \ | 123 test_segv "data write" data_write \ |
| 128 {#0 .* bowler .*#1 .* main .*} \ | 124 {#0 .* bowler .*#1 .* main .*} \ |
| 129 {#0 .* keeper .*#1 .* handler .*#2 .* bowler .*#3 .* main .*} | 125 {#0 .* keeper .*#1 .* handler .*#2 .* bowler .*#3 .* main .*} |
| 130 test_segv code $function_pointer \ | 126 test_segv code $function_pointer \ |
| 131 {#0 .* 0x0+ .*#1 .* bowler .*#2 .* main .*} \ | 127 {#0 .* 0x0+ .*#1 .* bowler .*#2 .* main .*} \ |
| 132 {#0 .* keeper .*#1 .* handler .*#2 .* 0x0+ .*#3 .* bowler .*#4 .* main .*} | 128 {#0 .* keeper .*#1 .* handler .*#2 .* 0x0+ .*#3 .* bowler .*#4 .* main .*} |
| OLD | NEW |