OLD | NEW |
1 # Copyright 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 2007-2012 Free Software Foundation, Inc. |
2 | 2 |
3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
6 # (at your option) any later version. | 6 # (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
(...skipping 16 matching lines...) Expand all Loading... |
27 set regdir "" | 27 set regdir "" |
28 set architecture "" | 28 set architecture "" |
29 switch -glob -- [istarget] { | 29 switch -glob -- [istarget] { |
30 "arm*-*-*" { | 30 "arm*-*-*" { |
31 set core-regs {arm-core.xml} | 31 set core-regs {arm-core.xml} |
32 } | 32 } |
33 "*m68k-*-*" { | 33 "*m68k-*-*" { |
34 set core-regs {m68k-core.xml} | 34 set core-regs {m68k-core.xml} |
35 } | 35 } |
36 "mips*-*-*" { | 36 "mips*-*-*" { |
37 » set core-regs {mips-cpu.xml mips-cp0.xml mips-fpu.xml} | 37 » set core-regs {mips-cpu.xml mips-cp0.xml mips-fpu.xml mips-dsp.xml} |
38 } | 38 } |
39 "powerpc*-*-*" { | 39 "powerpc*-*-*" { |
40 set regdir "rs6000/" | 40 set regdir "rs6000/" |
41 set core-regs {power-core.xml} | 41 set core-regs {power-core.xml} |
42 } | 42 } |
43 "s390*-*-*" { | 43 "s390*-*-*" { |
44 set core-regs {s390-core32.xml s390-acr.xml s390-fpr.xml} | 44 set core-regs {s390-core32.xml s390-acr.xml s390-fpr.xml} |
45 } | 45 } |
46 "spu*-*-*" { | 46 "spu*-*-*" { |
47 # This may be either the spu-linux-nat target, or the Cell/B.E. | 47 # This may be either the spu-linux-nat target, or the Cell/B.E. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 gdb_test "ptype \$bitfields" \ | 147 gdb_test "ptype \$bitfields" \ |
148 "type = struct struct2 {\r\n *uint64_t f1 : 35;\r\n *uint64_t f2 : 1;\r\n}" | 148 "type = struct struct2 {\r\n *uint64_t f1 : 35;\r\n *uint64_t f2 : 1;\r\n}" |
149 | 149 |
150 load_description "core-only.xml" "" | 150 load_description "core-only.xml" "" |
151 # The extra register from the previous description should be gone. | 151 # The extra register from the previous description should be gone. |
152 gdb_test "ptype \$extrareg" "type = void" | 152 gdb_test "ptype \$extrareg" "type = void" |
153 | 153 |
154 foreach src ${core-regs} { | 154 foreach src ${core-regs} { |
155 remote_file host delete "$src" | 155 remote_file host delete "$src" |
156 } | 156 } |
OLD | NEW |