| OLD | NEW |
| 1 # Tests of wide register displays for GDB on HPPA 2.0 machines | 1 # Tests of wide register displays for GDB on HPPA 2.0 machines |
| 2 # Copyright 1994-1995, 2007-2012 Free Software Foundation, Inc. | 2 # Copyright 1994-1995, 2007-2012 Free Software Foundation, Inc. |
| 3 | 3 |
| 4 # This program is free software; you can redistribute it and/or modify | 4 # This program is free software; you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License as published by | 5 # it under the terms of the GNU General Public License as published by |
| 6 # the Free Software Foundation; either version 3 of the License, or | 6 # the Free Software Foundation; either version 3 of the License, or |
| 7 # (at your option) any later version. | 7 # (at your option) any later version. |
| 8 # | 8 # |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. | 12 # GNU General Public License for more details. |
| 13 # | 13 # |
| 14 # You should have received a copy of the GNU General Public License | 14 # You should have received a copy of the GNU General Public License |
| 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
| 16 | 16 |
| 17 # use this to debug: | 17 # use this to debug: |
| 18 #log_user 1 | 18 #log_user 1 |
| 19 | 19 |
| 20 if $tracelevel { | |
| 21 strace $tracelevel | |
| 22 } | |
| 23 | |
| 24 if { [skip_hp_tests] } { continue } | 20 if { [skip_hp_tests] } { continue } |
| 25 | 21 |
| 26 if ![istarget "hppa*-*-*"] { | 22 if ![istarget "hppa*-*-*"] { |
| 27 verbose "Wide register test ignored for non-hppa targets." | 23 verbose "Wide register test ignored for non-hppa targets." |
| 28 return 0 | 24 return 0 |
| 29 } | 25 } |
| 30 | 26 |
| 31 if ![istarget "hppa64-hp-hpux*"] { | 27 if ![istarget "hppa64-hp-hpux*"] { |
| 32 verbose "reg-pa64.exp is only for PA2.0W (aka PA64)." | 28 verbose "reg-pa64.exp is only for PA2.0W (aka PA64)." |
| 33 return 0 | 29 return 0 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 # | 173 # |
| 178 # set $r4 = 0x1234567890123456 | 174 # set $r4 = 0x1234567890123456 |
| 179 # p/x $r4 | 175 # p/x $r4 |
| 180 # | 176 # |
| 181 | 177 |
| 182 # done | 178 # done |
| 183 # | 179 # |
| 184 gdb_exit | 180 gdb_exit |
| 185 | 181 |
| 186 return 0 | 182 return 0 |
| OLD | NEW |