Commit | Line | Data |
---|---|---|
c906108c SS |
1 | # Mappings from configurations to GDB target definitions. This is |
2 | # invoked from the autoconf generated configure script. | |
3 | ||
4 | # This file sets the following shell variables: | |
a4ce5b0d | 5 | # gdb_target_obs target-specific object files to use |
9b624dbe | 6 | # gdb_sim simulator library for target |
fa987fc4 UW |
7 | # gdb_osabi default OS ABI to use with target |
8 | # build_gdbserver set to "yes" if gdbserver supports target | |
c906108c | 9 | |
d0c678e6 | 10 | case $targ in |
7ce59000 | 11 | d10v-*-* | \ |
483367ee DJ |
12 | hppa*-*-hiux* | \ |
13 | i[34567]86-ncr-* | \ | |
14 | i[34567]86-*-lynxos* | \ | |
15 | m68*-cisco*-* | \ | |
16 | m68*-tandem-* | \ | |
17 | m68*-*-os68k* | \ | |
ad527d2e | 18 | mips*-*-pe | \ |
483367ee | 19 | rs6000-*-lynxos* | \ |
ad527d2e | 20 | sh*-*-pe | \ |
483367ee | 21 | null) |
d0c678e6 | 22 | echo "*** Configuration $targ is obsolete." >&2 |
483367ee DJ |
23 | echo "*** Support has been REMOVED." >&2 |
24 | exit 1 | |
25 | ;; | |
26 | esac | |
27 | ||
c906108c SS |
28 | # map target info into gdb names. |
29 | ||
d0c678e6 | 30 | case "${targ}" in |
c906108c | 31 | |
732cd360 | 32 | alpha*-*-osf*) |
a4ce5b0d UW |
33 | # Target: Little-endian Alpha running OSF/1 |
34 | gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o" | |
732cd360 UW |
35 | ;; |
36 | alpha*-*-linux*) | |
a4ce5b0d UW |
37 | # Target: Little-endian Alpha running Linux |
38 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \ | |
39 | solib.o solib-svr4.o" | |
732cd360 | 40 | ;; |
fa987fc4 | 41 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) |
a4ce5b0d UW |
42 | # Target: FreeBSD/alpha |
43 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ | |
44 | alphafbsd-tdep.o corelow.o solib.o solib-svr4.o" | |
fa987fc4 | 45 | ;; |
69489883 | 46 | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) |
a4ce5b0d UW |
47 | # Target: NetBSD/alpha |
48 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ | |
49 | alphanbsd-tdep.o nbsd-tdep.o corelow.o solib.o \ | |
50 | solib-svr4.o" | |
732cd360 UW |
51 | ;; |
52 | alpha*-*-openbsd*) | |
a4ce5b0d UW |
53 | # Target: OpenBSD/alpha |
54 | gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \ | |
55 | alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \ | |
56 | obsd-tdep.o corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
57 | ;; |
58 | alpha*-*-*) | |
a4ce5b0d UW |
59 | # Target: Alpha |
60 | gdb_target_obs="alpha-tdep.o" | |
732cd360 | 61 | ;; |
c906108c | 62 | |
732cd360 | 63 | am33_2.0*-*-linux*) |
a4ce5b0d UW |
64 | # Target: Matsushita mn10300 (AM33) running Linux |
65 | gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o corelow.o \ | |
66 | solib.o solib-svr4.o" | |
732cd360 | 67 | ;; |
63a09be5 | 68 | |
68070c10 | 69 | arm*-wince-pe | arm*-*-mingw32ce*) |
a4ce5b0d UW |
70 | # Target: ARM based machine running Windows CE (win32) |
71 | gdb_target_obs="arm-tdep.o arm-wince-tdep.o corelow.o \ | |
72 | solib.o solib-target.o" | |
732cd360 UW |
73 | build_gdbserver=yes |
74 | ;; | |
75 | arm*-*-linux*) | |
a4ce5b0d UW |
76 | # Target: ARM based machine running GNU/Linux |
77 | gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \ | |
4aa995e1 | 78 | solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o" |
732cd360 UW |
79 | build_gdbserver=yes |
80 | ;; | |
69489883 | 81 | arm*-*-netbsd* | arm*-*-knetbsd*-gnu) |
a4ce5b0d UW |
82 | # Target: NetBSD/arm |
83 | gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o" | |
732cd360 UW |
84 | ;; |
85 | arm*-*-openbsd*) | |
a4ce5b0d UW |
86 | # Target: OpenBSD/arm |
87 | gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \ | |
88 | corelow.o solib.o solib-svr4.o" | |
732cd360 | 89 | ;; |
fa987fc4 | 90 | arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*) |
a4ce5b0d UW |
91 | # Target: ARM embedded system |
92 | gdb_target_obs="arm-tdep.o" | |
9b624dbe | 93 | gdb_sim=../sim/arm/libsim.a |
732cd360 UW |
94 | ;; |
95 | ||
96 | avr-*-*) | |
a4ce5b0d UW |
97 | # Target: AVR |
98 | gdb_target_obs="avr-tdep.o" | |
9b624dbe UW |
99 | # There is no simulator provided with gdb (yet). |
100 | # See <http://savannah.gnu.org/projects/simulavr/> | |
101 | # for the simulator used during development of avr | |
102 | # support for gdb. | |
732cd360 UW |
103 | ;; |
104 | ||
105 | cris*) | |
a4ce5b0d UW |
106 | # Target: CRIS |
107 | gdb_target_obs="cris-tdep.o corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
108 | ;; |
109 | ||
732cd360 | 110 | frv-*-*) |
a4ce5b0d UW |
111 | # Target: Fujitsu FRV processor |
112 | gdb_target_obs="frv-tdep.o frv-linux-tdep.o \ | |
113 | solib.o solib-frv.o corelow.o" | |
9b624dbe | 114 | gdb_sim=../sim/frv/libsim.a |
732cd360 UW |
115 | ;; |
116 | ||
117 | h8300-*-*) | |
a4ce5b0d UW |
118 | # Target: H8300 with HMS monitor and H8 simulator |
119 | gdb_target_obs="h8300-tdep.o monitor.o dsrec.o" | |
9b624dbe | 120 | gdb_sim=../sim/h8300/libsim.a |
732cd360 UW |
121 | ;; |
122 | ||
123 | hppa*-*-hpux*) | |
a4ce5b0d UW |
124 | # Target: HP PA-RISC running hpux |
125 | gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o corelow.o \ | |
126 | solib.o solib-som.o solib-pa64.o" | |
732cd360 UW |
127 | ;; |
128 | hppa*-*-linux*) | |
a4ce5b0d UW |
129 | # Target: HP PA-RISC running Linux |
130 | gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \ | |
131 | solib.o solib-svr4.o symfile-mem.o" | |
732cd360 | 132 | ;; |
af5ca30d NH |
133 | hppa*-*-netbsd*) |
134 | # Target: NetBSD/hppa | |
135 | gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o \ | |
136 | corelow.o solib.o solib-svr4.o" | |
137 | ;; | |
732cd360 | 138 | hppa*-*-openbsd*) |
a4ce5b0d | 139 | # Target: OpenBSD/hppa |
af5ca30d | 140 | gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o \ |
a4ce5b0d | 141 | corelow.o solib.o solib-svr4.o" |
732cd360 UW |
142 | ;; |
143 | hppa*-*-*) | |
a4ce5b0d UW |
144 | # Target: HP PA-RISC |
145 | gdb_target_obs="hppa-tdep.o" | |
732cd360 | 146 | ;; |
c906108c | 147 | |
58529c02 | 148 | i[34567]86-*-darwin* | x86_64-*-darwin*) |
a80b95ba TG |
149 | # Target: Darwin/i386 |
150 | gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \ | |
cf1061c0 | 151 | i386-darwin-tdep.o solib.o solib-darwin.o" |
a80b95ba | 152 | ;; |
a15c5c83 PA |
153 | i[34567]86-*-dicos*) |
154 | # Target: DICOS/i386 | |
155 | gdb_target_obs="i386-tdep.o i387-tdep.o \ | |
4c1d2973 | 156 | dicos-tdep.o i386-dicos-tdep.o \ |
a15c5c83 PA |
157 | corelow.o solib.o solib-target.o" |
158 | ;; | |
fa987fc4 | 159 | i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) |
a4ce5b0d UW |
160 | # Target: FreeBSD/i386 |
161 | gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ | |
162 | bsd-uthread.o corelow.o solib.o solib-svr4.o" | |
fa987fc4 | 163 | ;; |
48184fd4 | 164 | i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu) |
a4ce5b0d UW |
165 | # Target: NetBSD/i386 |
166 | gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \ | |
167 | nbsd-tdep.o corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
168 | ;; |
169 | i[34567]86-*-openbsd*) | |
a4ce5b0d UW |
170 | # Target: OpenBSD/i386 |
171 | gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ | |
172 | bsd-uthread.o corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
173 | ;; |
174 | i[34567]86-*-nto*) | |
a4ce5b0d UW |
175 | # Target: Intel 386 running qnx6. |
176 | gdb_target_obs="i386-tdep.o i387-tdep.o corelow.o solib.o solib-svr4.o \ | |
177 | i386-nto-tdep.o nto-tdep.o" | |
732cd360 UW |
178 | ;; |
179 | i[34567]86-*-solaris2.1[0-9]*) | |
a4ce5b0d UW |
180 | # Target: Solaris x86_64 |
181 | gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \ | |
182 | i386-sol2-tdep.o sol2-tdep.o \ | |
183 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
184 | ;; |
185 | i[34567]86-*-solaris*) | |
a4ce5b0d UW |
186 | # Target: Solaris x86 |
187 | gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \ | |
188 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
189 | ;; |
190 | i[34567]86-*-linux*) | |
a4ce5b0d UW |
191 | # Target: Intel 386 running GNU/Linux |
192 | gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \ | |
4aa995e1 | 193 | solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o" |
0ca8834f JM |
194 | if test "x$enable_64_bit_bfd" = "xyes"; then |
195 | # Target: GNU/Linux x86-64 | |
196 | gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}" | |
197 | fi | |
732cd360 UW |
198 | build_gdbserver=yes |
199 | ;; | |
200 | i[34567]86-*-gnu*) | |
a4ce5b0d UW |
201 | # Target: Intel 386 running the GNU Hurd |
202 | gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o \ | |
203 | solib.o solib-svr4.o" | |
732cd360 UW |
204 | ;; |
205 | i[34567]86-*-cygwin*) | |
a4ce5b0d UW |
206 | # Target: Intel 386 running win32 |
207 | gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ | |
31b060a2 | 208 | solib-target.o corelow.o windows-tdep.o" |
732cd360 UW |
209 | build_gdbserver=yes |
210 | ;; | |
211 | i[34567]86-*-mingw32*) | |
a4ce5b0d UW |
212 | # Target: Intel 386 running win32 |
213 | gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ | |
31b060a2 | 214 | solib-target.o corelow.o windows-tdep.o" |
732cd360 UW |
215 | build_gdbserver=yes |
216 | ;; | |
217 | i[34567]86-*-*) | |
a4ce5b0d UW |
218 | # Target: i386 |
219 | gdb_target_obs="i386-tdep.o i387-tdep.o" | |
732cd360 UW |
220 | ;; |
221 | ||
222 | ia64-*-linux*) | |
a4ce5b0d UW |
223 | # Target: Intel IA-64 running GNU/Linux |
224 | gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o \ | |
225 | solib.o solib-svr4.o symfile-mem.o" | |
732cd360 UW |
226 | build_gdbserver=yes |
227 | ;; | |
228 | ia64*-*-*) | |
a4ce5b0d UW |
229 | # Target: Intel IA-64 |
230 | gdb_target_obs="ia64-tdep.o" | |
732cd360 UW |
231 | ;; |
232 | ||
233 | iq2000-*-*) | |
a4ce5b0d | 234 | gdb_target_obs="iq2000-tdep.o" |
9b624dbe | 235 | gdb_sim=../sim/iq2000/libsim.a |
732cd360 UW |
236 | ;; |
237 | ||
238 | m32c-*-*) | |
a4ce5b0d UW |
239 | # Target: Renesas M32C family |
240 | gdb_target_obs="m32c-tdep.o prologue-value.o" | |
9b624dbe UW |
241 | # There may also be a SID / CGEN simulator for this, |
242 | # but we do have DJ Delorie's mini-sim. | |
243 | gdb_sim=../sim/m32c/libsim.a | |
732cd360 UW |
244 | ;; |
245 | ||
246 | m32r*-*-linux*) | |
a4ce5b0d UW |
247 | # Target: Renesas M32R running GNU/Linux |
248 | gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \ | |
249 | glibc-tdep.o solib.o solib-svr4.o symfile-mem.o" | |
9b624dbe | 250 | gdb_sim=../sim/m32r/libsim.a |
732cd360 UW |
251 | build_gdbserver=yes |
252 | ;; | |
253 | m32r*-*-*) | |
a4ce5b0d UW |
254 | # Target: Renesas m32r processor |
255 | gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \ | |
256 | remote-m32r-sdi.o" | |
9b624dbe | 257 | gdb_sim=../sim/m32r/libsim.a |
732cd360 UW |
258 | ;; |
259 | ||
260 | m68hc11*-*-*|m6811*-*-*) | |
a4ce5b0d UW |
261 | # Target: Motorola 68HC11 processor |
262 | gdb_target_obs="m68hc11-tdep.o" | |
9b624dbe | 263 | gdb_sim=../sim/m68hc11/libsim.a |
732cd360 UW |
264 | ;; |
265 | ||
fa987fc4 UW |
266 | m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \ |
267 | fido-*-elf*) | |
a4ce5b0d UW |
268 | # Target: Motorola m68k embedded (e.g. bug monitors) |
269 | gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o" | |
732cd360 UW |
270 | ;; |
271 | m68*-*-linux*) | |
a4ce5b0d UW |
272 | # Target: Motorola m68k with a.out and ELF |
273 | gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib.o solib-svr4.o \ | |
274 | glibc-tdep.o symfile-mem.o" | |
732cd360 UW |
275 | build_gdbserver=yes |
276 | ;; | |
69489883 | 277 | m68*-*-netbsd* | m68*-*-knetbsd*-gnu) |
a4ce5b0d UW |
278 | # Target: NetBSD/m68k |
279 | gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \ | |
280 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
281 | ;; |
282 | m68*-*-openbsd*) | |
a4ce5b0d UW |
283 | # Target: OpenBSD/m68k |
284 | gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o \ | |
285 | corelow.o solib.o solib-svr4.o" | |
732cd360 | 286 | ;; |
732cd360 UW |
287 | |
288 | m88*-*-openbsd*) | |
a4ce5b0d UW |
289 | # Target: OpenBSD/m88k |
290 | gdb_target_obs="m88k-tdep.o corelow.o" | |
732cd360 UW |
291 | ;; |
292 | ||
293 | mep-*-*) | |
a4ce5b0d UW |
294 | # Target: Toshiba Media Processor (MEP) |
295 | gdb_target_obs="mep-tdep.o prologue-value.o" | |
296 | # No sim needed. Target uses SID. | |
732cd360 UW |
297 | ;; |
298 | ||
299 | mips*-sgi-irix5*) | |
a4ce5b0d UW |
300 | # Target: MIPS SGI running Irix 5 |
301 | gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o" | |
732cd360 UW |
302 | ;; |
303 | mips*-sgi-irix6*) | |
a4ce5b0d UW |
304 | # Target: MIPS SGI running Irix 6.x |
305 | gdb_target_obs="mips-tdep.o mips-irix-tdep.o solib.o solib-irix.o" | |
732cd360 UW |
306 | ;; |
307 | mips*-*-linux*) | |
a4ce5b0d | 308 | # Target: Linux/MIPS |
db5f024e | 309 | gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \ |
a4ce5b0d | 310 | corelow.o solib.o solib-svr4.o symfile-mem.o" |
9b624dbe | 311 | gdb_sim=../sim/mips/libsim.a |
732cd360 UW |
312 | build_gdbserver=yes |
313 | ;; | |
69489883 | 314 | mips*-*-netbsd* | mips*-*-knetbsd*-gnu) |
a4ce5b0d UW |
315 | # Target: MIPS running NetBSD |
316 | gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o \ | |
317 | corelow.o solib.o solib-svr4.o nbsd-tdep.o" | |
9b624dbe | 318 | gdb_sim=../sim/mips/libsim.a |
732cd360 UW |
319 | ;; |
320 | mips64*-*-openbsd*) | |
a4ce5b0d UW |
321 | # Target: OpenBSD/mips64 |
322 | gdb_target_obs="mips-tdep.o mips64obsd-tdep.o \ | |
323 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
324 | ;; |
325 | mips*-*-*) | |
a4ce5b0d UW |
326 | # Target: MIPS |
327 | gdb_target_obs="mips-tdep.o" | |
9b624dbe | 328 | gdb_sim=../sim/mips/libsim.a |
732cd360 UW |
329 | ;; |
330 | ||
331 | mn10300-*-*) | |
a4ce5b0d UW |
332 | # Target: Matsushita mn10300 |
333 | gdb_target_obs="mn10300-tdep.o" | |
9b624dbe | 334 | gdb_sim=../sim/mn10300/libsim.a |
732cd360 UW |
335 | ;; |
336 | ||
337 | mt-*-*) | |
a4ce5b0d UW |
338 | # Target: Morpho Technologies ms1 processor |
339 | gdb_target_obs="mt-tdep.o" | |
732cd360 | 340 | ;; |
61def6bd | 341 | |
69489883 | 342 | powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) |
a4ce5b0d UW |
343 | # Target: NetBSD/powerpc |
344 | gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \ | |
345 | corelow.o solib.o solib-svr4.o" | |
9b624dbe | 346 | gdb_sim=../sim/ppc/libsim.a |
732cd360 UW |
347 | ;; |
348 | powerpc-*-openbsd*) | |
a4ce5b0d UW |
349 | # Target: OpenBSD/powerpc |
350 | gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \ | |
351 | corelow.o solib.o solib-svr4.o" | |
732cd360 | 352 | ;; |
d9178763 | 353 | powerpc-*-aix* | rs6000-*-*) |
a4ce5b0d UW |
354 | # Target: PowerPC running AIX |
355 | gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \ | |
356 | ppc-sysv-tdep.o solib.o solib-svr4.o" | |
732cd360 | 357 | ;; |
fa987fc4 | 358 | powerpc-*-linux* | powerpc64-*-linux*) |
a4ce5b0d UW |
359 | # Target: PowerPC running Linux |
360 | gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \ | |
361 | solib.o solib-svr4.o corelow.o symfile-mem.o" | |
9b624dbe | 362 | gdb_sim=../sim/ppc/libsim.a |
732cd360 UW |
363 | build_gdbserver=yes |
364 | ;; | |
365 | powerpc*-*-*) | |
a4ce5b0d UW |
366 | # Target: PowerPC running eabi |
367 | gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \ | |
368 | dink32-rom.o ppc-sysv-tdep.o solib.o solib-svr4.o" | |
732cd360 | 369 | if test -f ../sim/ppc/Makefile; then |
9b624dbe | 370 | gdb_sim=../sim/ppc/libsim.a |
732cd360 UW |
371 | fi |
372 | ;; | |
373 | ||
374 | s390*-*-*) | |
a4ce5b0d UW |
375 | # Target: S390 running Linux |
376 | gdb_target_obs="s390-tdep.o solib.o solib-svr4.o" | |
732cd360 UW |
377 | build_gdbserver=yes |
378 | ;; | |
379 | ||
380 | score-*-*) | |
a4ce5b0d UW |
381 | # Target: S+core embedded system |
382 | gdb_target_obs="score-tdep.o" | |
732cd360 UW |
383 | ;; |
384 | ||
e25c958c | 385 | sh*-*-linux*) |
a4ce5b0d UW |
386 | # Target: GNU/Linux Super-H |
387 | gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \ | |
e25c958c | 388 | dsrec.o solib.o solib-svr4.o symfile-mem.o glibc-tdep.o" |
9b624dbe | 389 | gdb_sim=../sim/sh/libsim.a |
732cd360 UW |
390 | build_gdbserver=yes |
391 | ;; | |
69489883 | 392 | sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) |
a4ce5b0d UW |
393 | # Target: NetBSD/sh |
394 | gdb_target_obs="sh-tdep.o shnbsd-tdep.o corelow.o solib.o solib-svr4.o" | |
9b624dbe | 395 | gdb_sim=../sim/sh/libsim.a |
732cd360 UW |
396 | ;; |
397 | sh*-*-openbsd*) | |
a4ce5b0d UW |
398 | # Target: OpenBSD/sh |
399 | gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o \ | |
400 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
401 | ;; |
402 | sh64-*-elf*) | |
a4ce5b0d UW |
403 | # Target: Renesas/Super-H 64 bit with simulator |
404 | gdb_target_obs="sh-tdep.o sh64-tdep.o" | |
9b624dbe | 405 | gdb_sim=../sim/sh64/libsim.a |
732cd360 UW |
406 | ;; |
407 | sh*) | |
a4ce5b0d UW |
408 | # Target: Embedded Renesas Super-H with ICE and simulator |
409 | gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o" | |
9b624dbe | 410 | gdb_sim=../sim/sh/libsim.a |
732cd360 UW |
411 | ;; |
412 | ||
413 | sparc-*-linux*) | |
a4ce5b0d UW |
414 | # Target: GNU/Linux SPARC |
415 | gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \ | |
416 | sparc-linux-tdep.o solib.o solib-svr4.o symfile-mem.o" | |
0ca8834f JM |
417 | if test "x$enable_64_bit_bfd" = "xyes"; then |
418 | # Target: GNU/Linux UltraSPARC | |
419 | gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \ | |
420 | sparc64-linux-tdep.o ${gdb_target_obs}" | |
421 | fi | |
732cd360 UW |
422 | ;; |
423 | sparc64-*-linux*) | |
a4ce5b0d UW |
424 | # Target: GNU/Linux UltraSPARC |
425 | gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \ | |
426 | sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \ | |
427 | sparc-linux-tdep.o solib.o solib-svr4.o" | |
dfb64f85 | 428 | build_gdbserver=yes |
732cd360 | 429 | ;; |
fa987fc4 | 430 | sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu) |
a4ce5b0d UW |
431 | # Target: FreeBSD/sparc64 |
432 | gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \ | |
433 | corelow.o solib.o solib-svr4.o" | |
fa987fc4 | 434 | ;; |
69489883 | 435 | sparc-*-netbsd* | sparc-*-knetbsd*-gnu) |
a4ce5b0d UW |
436 | # Target: NetBSD/sparc |
437 | gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \ | |
438 | corelow.o solib.o solib-svr4.o" | |
732cd360 | 439 | ;; |
69489883 | 440 | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) |
a4ce5b0d UW |
441 | # Target: NetBSD/sparc64 |
442 | gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \ | |
443 | sparcnbsd-tdep.o nbsd-tdep.o \ | |
444 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
445 | ;; |
446 | sparc-*-openbsd*) | |
a4ce5b0d UW |
447 | # Target: OpenBSD/sparc |
448 | gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \ | |
449 | nbsd-tdep.o obsd-tdep.o bsd-uthread.o \ | |
450 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
451 | ;; |
452 | sparc64-*-openbsd*) | |
a4ce5b0d UW |
453 | # Target: OpenBSD/sparc64 |
454 | gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \ | |
455 | sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \ | |
456 | nbsd-tdep.o obsd-tdep.o bsd-uthread.o \ | |
457 | corelow.o solib.o solib-svr4.o" | |
732cd360 | 458 | ;; |
386c036b | 459 | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) |
a4ce5b0d UW |
460 | # Target: Solaris SPARC |
461 | gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \ | |
462 | solib.o solib-svr4.o" | |
732cd360 | 463 | ;; |
386c036b | 464 | sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) |
a4ce5b0d UW |
465 | # Target: Solaris UltraSPARC |
466 | gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \ | |
467 | sparc-sol2-tdep.o sol2-tdep.o solib.o solib-svr4.o" | |
732cd360 UW |
468 | ;; |
469 | sparc-*-rtems*) | |
a4ce5b0d UW |
470 | # Target: SPARC embedded with simulator |
471 | gdb_target_obs="sparc-tdep.o" | |
9b624dbe | 472 | gdb_sim=../sim/erc32/libsim.a |
732cd360 UW |
473 | ;; |
474 | sparc-*-*) | |
a4ce5b0d UW |
475 | # Target: SPARC |
476 | gdb_target_obs="sparc-tdep.o" | |
732cd360 UW |
477 | ;; |
478 | sparc64-*-*) | |
a4ce5b0d UW |
479 | # Target: UltraSPARC |
480 | gdb_target_obs="sparc-tdep.o sparc64-tdep.o" | |
732cd360 UW |
481 | ;; |
482 | ||
483 | spu*-*-*) | |
a4ce5b0d UW |
484 | # Target: Cell BE SPU |
485 | gdb_target_obs="spu-tdep.o" | |
732cd360 UW |
486 | build_gdbserver=yes |
487 | ;; | |
488 | ||
489 | xstormy16-*-*) | |
a4ce5b0d UW |
490 | # Target: Sanyo Xstormy16a processor |
491 | gdb_target_obs="xstormy16-tdep.o" | |
9b624dbe | 492 | # No simulator libraries are needed -- target uses SID. |
732cd360 UW |
493 | ;; |
494 | ||
495 | v850*-*-elf) | |
a4ce5b0d UW |
496 | # Target: NEC V850 processor |
497 | gdb_target_obs="v850-tdep.o" | |
9b624dbe | 498 | gdb_sim=../sim/v850/libsim.a |
732cd360 | 499 | ;; |
181124bc | 500 | |
69489883 | 501 | vax-*-netbsd* | vax-*-knetbsd*-gnu) |
a4ce5b0d UW |
502 | # Target: NetBSD/vax |
503 | gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o \ | |
504 | corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
505 | ;; |
506 | vax-*-openbsd*) | |
a4ce5b0d UW |
507 | # Target: OpenBSD/vax |
508 | gdb_target_obs="vax-tdep.o vaxobsd-tdep.o corelow.o" | |
732cd360 UW |
509 | ;; |
510 | vax-*-*) | |
a4ce5b0d UW |
511 | # Target: VAX running 4.2BSD or Ultrix |
512 | gdb_target_obs="vax-tdep.o" | |
732cd360 UW |
513 | ;; |
514 | ||
a15c5c83 PA |
515 | x86_64-*-dicos*) |
516 | # Target: DICOS/x86-64 | |
517 | gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \ | |
4c1d2973 | 518 | dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o \ |
a15c5c83 PA |
519 | corelow.o solib.o solib-target.o" |
520 | ;; | |
732cd360 | 521 | x86_64-*-linux*) |
a4ce5b0d UW |
522 | # Target: GNU/Linux x86-64 |
523 | gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \ | |
524 | i387-tdep.o i386-linux-tdep.o glibc-tdep.o \ | |
4aa995e1 | 525 | solib.o solib-svr4.o corelow.o symfile-mem.o linux-tdep.o" |
732cd360 UW |
526 | build_gdbserver=yes |
527 | ;; | |
fa987fc4 | 528 | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) |
a4ce5b0d UW |
529 | # Target: FreeBSD/amd64 |
530 | gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \ | |
531 | i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \ | |
532 | bsd-uthread.o corelow.o solib.o solib-svr4.o" | |
fa987fc4 | 533 | ;; |
d0761299 JB |
534 | x86_64-*-mingw*) |
535 | # Target: MingW/amd64 | |
536 | gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \ | |
537 | i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \ | |
31b060a2 | 538 | solib-target.o windows-tdep.o" |
d0761299 | 539 | ;; |
69489883 | 540 | x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu) |
a4ce5b0d UW |
541 | # Target: NetBSD/amd64 |
542 | gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \ | |
543 | nbsd-tdep.o corelow.o solib.o solib-svr4.o" | |
732cd360 UW |
544 | ;; |
545 | x86_64-*-openbsd*) | |
a4ce5b0d UW |
546 | # Target: OpenBSD/amd64 |
547 | gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \ | |
548 | i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ | |
549 | bsd-uthread.o corelow.o solib.o solib-svr4.o" | |
732cd360 | 550 | ;; |
94a0e877 MG |
551 | xtensa*-*-linux*) gdb_target=linux |
552 | # Target: GNU/Linux Xtensa | |
553 | gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \ | |
554 | solib.o solib-svr4.o corelow.o symfile-mem.o" | |
555 | build_gdbserver=yes | |
556 | ;; | |
732cd360 | 557 | xtensa*) |
a4ce5b0d | 558 | # Target: Tensilica Xtensa processors |
ee967b5f | 559 | gdb_target_obs="xtensa-tdep.o xtensa-config.o solib.o solib-svr4.o" |
732cd360 | 560 | ;; |
ca3bf3bd | 561 | |
c906108c | 562 | esac |
2acceee2 | 563 | |
b00a8037 DJ |
564 | # map target onto default OS ABI |
565 | ||
d0c678e6 | 566 | case "${targ}" in |
4fabe3d5 | 567 | *-*-freebsd*) gdb_osabi=GDB_OSABI_FREEBSD_ELF ;; |
b00a8037 | 568 | *-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;; |
1b883d35 | 569 | *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;; |
663408c2 | 570 | m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;; |
890c8f4d | 571 | *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;; |
5b729aa5 | 572 | *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;; |
69489883 NN |
573 | *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below |
574 | *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;; | |
fd39ac05 PA |
575 | *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;; |
576 | *-*-mingw* | *-*-cygwin*) | |
577 | gdb_osabi=GDB_OSABI_CYGWIN ;; | |
a15c5c83 | 578 | *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;; |
b00a8037 | 579 | esac |