OLD | NEW |
1 # This test script is part of GDB, the GNU debugger. | 1 # This test script is part of GDB, the GNU debugger. |
2 | 2 |
3 # Copyright 1998-1999, 2001, 2004, 2012 Free Software Foundation, Inc. | 3 # Copyright 1998-1999, 2001, 2004, 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, |
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 # GNU General Public License for more details. | 13 # GNU General Public License for more details. |
14 # | 14 # |
15 # You should have received a copy of the GNU General Public License | 15 # You should have received a copy of the GNU General Public License |
16 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 16 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
17 | 17 |
18 # Tests of wide register displays for GDB on HPPA 2.0 machines | 18 # Tests of wide register displays for GDB on HPPA 2.0 machines |
19 | 19 |
20 # use this to debug: | 20 # use this to debug: |
21 #log_user 1 | 21 #log_user 1 |
22 | 22 |
23 if $tracelevel then { | |
24 strace $tracelevel | |
25 } | |
26 | |
27 if { [skip_hp_tests] } then { continue } | 23 if { [skip_hp_tests] } then { continue } |
28 | 24 |
29 set testfile "reg" | 25 set testfile "reg" |
30 | 26 |
31 if [istarget "hppa64-hp-hpux*"] { | 27 if [istarget "hppa64-hp-hpux*"] { |
32 verbose "reg.exp is not for PA2.0W." | 28 verbose "reg.exp is not for PA2.0W." |
33 return 0 | 29 return 0 |
34 } | 30 } |
35 set srcfile ${testfile}.s | 31 set srcfile ${testfile}.s |
36 set binfile ${objdir}/${subdir}/${testfile} | 32 set binfile ${objdir}/${subdir}/${testfile} |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 # | 221 # |
226 # set $r4 = 0x1234567890123456 | 222 # set $r4 = 0x1234567890123456 |
227 # p/x $r4 | 223 # p/x $r4 |
228 # | 224 # |
229 | 225 |
230 # done | 226 # done |
231 # | 227 # |
232 gdb_exit | 228 gdb_exit |
233 | 229 |
234 return 0 | 230 return 0 |
OLD | NEW |