Delete IRIX support
[deliverable/binutils-gdb.git] / gdb / configure.tgt
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:
5 # gdb_target_obs target-specific object files to use
6 # gdb_sim simulator library for target
7 # gdb_osabi default OS ABI to use with target
8 # build_gdbserver set to "yes" if gdbserver supports target
9 # gdb_have_gcore set to "true"/"false" if this target can run gcore
10
11 # NOTE: Every file added to a gdb_target_obs variable for any target here
12 # must also be added to either ALL_TARGET_OBS or ALL_64_TARGET_OBS
13 # in Makefile.in!
14
15 case $targ in
16 *-*-irix* | \
17 d10v-*-* | \
18 hppa*-*-hiux* | \
19 i[34567]86-ncr-* | \
20 m68*-cisco*-* | \
21 m68*-tandem-* | \
22 m68*-*-os68k* | \
23 mips*-*-pe | \
24 rs6000-*-lynxos* | \
25 sh*-*-pe | \
26 null)
27 echo "*** Configuration $targ is obsolete." >&2
28 echo "*** Support has been REMOVED." >&2
29 exit 1
30 ;;
31 esac
32
33 # map target info into gdb names.
34
35 case "${targ}" in
36 aarch64*-*-elf)
37 # Target: AArch64 embedded system
38 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o"
39 ;;
40
41 aarch64*-*-linux*)
42 # Target: AArch64 linux
43 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o \
44 glibc-tdep.o linux-tdep.o solib-svr4.o \
45 symfile-mem.o"
46 build_gdbserver=yes
47 ;;
48
49 alpha*-*-osf*)
50 # Target: Little-endian Alpha running OSF/1
51 gdb_target_obs="alpha-tdep.o alpha-osf1-tdep.o alpha-mdebug-tdep.o"
52 ;;
53 alpha*-*-linux*)
54 # Target: Little-endian Alpha running Linux
55 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
56 linux-tdep.o solib-svr4.o"
57 ;;
58 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
59 # Target: FreeBSD/alpha
60 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
61 alphafbsd-tdep.o solib-svr4.o"
62 ;;
63 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
64 # Target: NetBSD/alpha
65 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
66 alphanbsd-tdep.o nbsd-tdep.o solib-svr4.o"
67 ;;
68 alpha*-*-openbsd*)
69 # Target: OpenBSD/alpha
70 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alphabsd-tdep.o \
71 alphanbsd-tdep.o alphaobsd-tdep.o nbsd-tdep.o \
72 obsd-tdep.o solib-svr4.o"
73 ;;
74 alpha*-*-*)
75 # Target: Alpha
76 gdb_target_obs="alpha-tdep.o"
77 ;;
78
79 am33_2.0*-*-linux*)
80 # Target: Matsushita mn10300 (AM33) running Linux
81 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
82 solib-svr4.o"
83 ;;
84
85 arm*-wince-pe | arm*-*-mingw32ce*)
86 # Target: ARM based machine running Windows CE (win32)
87 gdb_target_obs="arm-tdep.o arm-wince-tdep.o windows-tdep.o"
88 build_gdbserver=yes
89 ;;
90 arm*-*-linux*)
91 # Target: ARM based machine running GNU/Linux
92 gdb_target_obs="arm-tdep.o arm-linux-tdep.o glibc-tdep.o \
93 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
94 build_gdbserver=yes
95 ;;
96 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
97 # Target: NetBSD/arm
98 gdb_target_obs="arm-tdep.o armnbsd-tdep.o solib-svr4.o"
99 ;;
100 arm*-*-openbsd*)
101 # Target: OpenBSD/arm
102 gdb_target_obs="arm-tdep.o armbsd-tdep.o armobsd-tdep.o obsd-tdep.o \
103 solib-svr4.o"
104 ;;
105 arm*-*-symbianelf*)
106 # Target: SymbianOS/arm
107 gdb_target_obs="arm-tdep.o arm-symbian-tdep.o"
108 ;;
109 arm*-*-*)
110 # Target: ARM embedded system
111 gdb_target_obs="arm-tdep.o"
112 gdb_sim=../sim/arm/libsim.a
113 ;;
114
115 avr-*-*)
116 # Target: AVR
117 gdb_target_obs="avr-tdep.o"
118 gdb_sim=../sim/avr/libsim.a
119 ;;
120
121 bfin-*-*linux*)
122 # Target: Blackfin Linux
123 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
124 gdb_sim=../sim/bfin/libsim.a
125 build_gdbserver=yes
126 ;;
127 bfin-*-*)
128 # Target: Blackfin processor
129 gdb_target_obs="bfin-tdep.o"
130 gdb_sim=../sim/bfin/libsim.a
131 ;;
132
133 cris*)
134 # Target: CRIS
135 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
136 ;;
137
138 frv-*-*)
139 # Target: Fujitsu FRV processor
140 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
141 gdb_sim=../sim/frv/libsim.a
142 ;;
143
144 moxie-*-elf | moxie-*-rtems*)
145 gdb_target_obs="moxie-tdep.o"
146 gdb_sim=../sim/moxie/libsim.a
147 ;;
148
149 h8300-*-*)
150 # Target: H8300 with HMS monitor and H8 simulator
151 gdb_target_obs="h8300-tdep.o monitor.o dsrec.o"
152 gdb_sim=../sim/h8300/libsim.a
153 ;;
154
155 hppa*-*-hpux*)
156 # Target: HP PA-RISC running hpux
157 gdb_target_obs="hppa-tdep.o hppa-hpux-tdep.o solib-som.o solib-pa64.o"
158 ;;
159 hppa*-*-linux*)
160 # Target: HP PA-RISC running Linux
161 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
162 linux-tdep.o solib-svr4.o symfile-mem.o"
163 ;;
164 hppa*-*-netbsd*)
165 # Target: NetBSD/hppa
166 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppanbsd-tdep.o solib-svr4.o"
167 ;;
168 hppa*-*-openbsd*)
169 # Target: OpenBSD/hppa
170 gdb_target_obs="hppa-tdep.o hppabsd-tdep.o hppaobsd-tdep.o solib-svr4.o"
171 ;;
172 hppa*-*-*)
173 # Target: HP PA-RISC
174 gdb_target_obs="hppa-tdep.o"
175 ;;
176
177 i[34567]86-*-darwin*)
178 # Target: Darwin/i386
179 gdb_target_obs="i386-tdep.o i387-tdep.o \
180 i386-darwin-tdep.o solib-darwin.o"
181 if test "x$enable_64_bit_bfd" = "xyes"; then
182 # Target: GNU/Linux x86-64
183 gdb_target_obs="amd64-tdep.o amd64-darwin-tdep.o ${gdb_target_obs}"
184 fi
185 ;;
186 i[34567]86-*-dicos*)
187 # Target: DICOS/i386
188 gdb_target_obs="i386-tdep.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
189 ;;
190 i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
191 # Target: FreeBSD/i386
192 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
193 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
194 ;;
195 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
196 # Target: NetBSD/i386
197 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o \
198 nbsd-tdep.o solib-svr4.o"
199 ;;
200 i[34567]86-*-openbsd*)
201 # Target: OpenBSD/i386
202 gdb_target_obs="i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
203 obsd-tdep.o bsd-uthread.o solib-svr4.o"
204 ;;
205 i[34567]86-*-nto*)
206 # Target: Intel 386 running qnx6.
207 gdb_target_obs="i386-tdep.o i387-tdep.o solib-svr4.o \
208 i386-nto-tdep.o nto-tdep.o"
209 build_gdbserver=yes
210 ;;
211 i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
212 # Target: Solaris x86_64
213 gdb_target_obs="i386-tdep.o i387-tdep.o amd64-tdep.o amd64-sol2-tdep.o \
214 i386-sol2-tdep.o sol2-tdep.o solib-svr4.o"
215 ;;
216 i[34567]86-*-solaris*)
217 # Target: Solaris x86
218 gdb_target_obs="i386-tdep.o i387-tdep.o i386-sol2-tdep.o sol2-tdep.o \
219 solib-svr4.o"
220 ;;
221 i[34567]86-*-linux*)
222 # Target: Intel 386 running GNU/Linux
223 gdb_target_obs="i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o \
224 solib-svr4.o symfile-mem.o \
225 linux-tdep.o linux-record.o"
226 if test "x$enable_64_bit_bfd" = "xyes"; then
227 # Target: GNU/Linux x86-64
228 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o ${gdb_target_obs}"
229 fi
230 build_gdbserver=yes
231 ;;
232 i[34567]86-*-gnu*)
233 # Target: Intel 386 running the GNU Hurd
234 gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
235 ;;
236 i[34567]86-*-cygwin*)
237 # Target: Intel 386 running win32
238 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
239 windows-tdep.o"
240 build_gdbserver=yes
241 ;;
242 i[34567]86-*-mingw32*)
243 # Target: Intel 386 running win32
244 gdb_target_obs="i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
245 windows-tdep.o"
246 build_gdbserver=yes
247 ;;
248 i[34567]86-*-*)
249 # Target: i386
250 gdb_target_obs="i386-tdep.o i387-tdep.o"
251 ;;
252
253 ia64-*-hpux*)
254 # Target: Intel IA-64 running HP-UX
255 gdb_target_obs="ia64-tdep.o ia64-hpux-tdep.o"
256 ;;
257 ia64-*-linux*)
258 # Target: Intel IA-64 running GNU/Linux
259 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
260 solib-svr4.o symfile-mem.o"
261 build_gdbserver=yes
262 ;;
263 ia64-*-*vms*)
264 # Target: Intel IA-64 running OpenVMS
265 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
266 ;;
267 ia64*-*-*)
268 # Target: Intel IA-64
269 gdb_target_obs="ia64-tdep.o"
270 ;;
271
272 iq2000-*-*)
273 gdb_target_obs="iq2000-tdep.o"
274 gdb_sim=../sim/iq2000/libsim.a
275 ;;
276
277 lm32-*-*)
278 gdb_target_obs="lm32-tdep.o"
279 gdb_sim=../sim/lm32/libsim.a
280 ;;
281
282 m32c-*-*)
283 # Target: Renesas M32C family
284 gdb_target_obs="m32c-tdep.o"
285 # There may also be a SID / CGEN simulator for this,
286 # but we do have DJ Delorie's mini-sim.
287 gdb_sim=../sim/m32c/libsim.a
288 ;;
289
290 m32r*-*-linux*)
291 # Target: Renesas M32R running GNU/Linux
292 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o \
293 glibc-tdep.o solib-svr4.o symfile-mem.o \
294 linux-tdep.o"
295 gdb_sim=../sim/m32r/libsim.a
296 build_gdbserver=yes
297 ;;
298 m32r*-*-*)
299 # Target: Renesas m32r processor
300 gdb_target_obs="m32r-tdep.o monitor.o m32r-rom.o dsrec.o \
301 remote-m32r-sdi.o"
302 gdb_sim=../sim/m32r/libsim.a
303 ;;
304
305 m68hc11*-*-*|m6811*-*-*)
306 # Target: Motorola 68HC11 processor
307 gdb_target_obs="m68hc11-tdep.o"
308 gdb_sim=../sim/m68hc11/libsim.a
309 ;;
310
311 m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
312 fido-*-elf*)
313 # Target: Motorola m68k embedded (e.g. bug monitors)
314 gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
315 ;;
316 m68*-*-linux*)
317 # Target: Motorola m68k with a.out and ELF
318 gdb_target_obs="m68k-tdep.o m68klinux-tdep.o solib-svr4.o \
319 linux-tdep.o glibc-tdep.o symfile-mem.o"
320 build_gdbserver=yes
321 ;;
322 m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
323 # Target: NetBSD/m68k
324 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
325 ;;
326 m68*-*-openbsd*)
327 # Target: OpenBSD/m68k
328 gdb_target_obs="m68k-tdep.o m68kbsd-tdep.o solib-svr4.o"
329 ;;
330
331 m88*-*-openbsd*)
332 # Target: OpenBSD/m88k
333 gdb_target_obs="m88k-tdep.o"
334 ;;
335
336 mep-*-*)
337 # Target: Toshiba Media Processor (MEP)
338 gdb_target_obs="mep-tdep.o"
339 # No sim needed. Target uses SID.
340 ;;
341
342 microblaze*-linux-*|microblaze*-*-linux*)
343 # Target: Xilinx MicroBlaze running Linux
344 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o microblaze-rom.o \
345 monitor.o dsrec.o solib-svr4.o symfile-mem.o linux-tdep.o"
346 gdb_sim=../sim/microblaze/libsim.a
347 ;;
348 microblaze*-*-*)
349 # Target: Xilinx MicroBlaze running standalone
350 gdb_target_obs="microblaze-tdep.o microblaze-rom.o monitor.o dsrec.o"
351 gdb_sim=../sim/microblaze/libsim.a
352 ;;
353
354 mips*-*-linux*)
355 # Target: Linux/MIPS
356 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
357 solib-svr4.o symfile-mem.o linux-tdep.o"
358 gdb_sim=../sim/mips/libsim.a
359 build_gdbserver=yes
360 ;;
361 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
362 # Target: MIPS running NetBSD
363 gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
364 gdb_sim=../sim/mips/libsim.a
365 ;;
366 mips64*-*-openbsd*)
367 # Target: OpenBSD/mips64
368 gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"
369 ;;
370 mips*-*-elf)
371 # Target: MIPS ELF
372 gdb_target_obs="mips-tdep.o remote-mips.o"
373 gdb_sim=../sim/mips/libsim.a
374 ;;
375 mips*-*-*)
376 # Target: MIPS
377 gdb_target_obs="mips-tdep.o"
378 gdb_sim=../sim/mips/libsim.a
379 ;;
380
381 mn10300-*-*)
382 # Target: Matsushita mn10300
383 gdb_target_obs="mn10300-tdep.o"
384 gdb_sim=../sim/mn10300/libsim.a
385 ;;
386
387 msp430*-*-elf)
388 gdb_target_obs="msp430-tdep.o"
389 gdb_sim=../sim/msp430/libsim.a
390 ;;
391
392 mt-*-*)
393 # Target: Morpho Technologies ms1 processor
394 gdb_target_obs="mt-tdep.o"
395 ;;
396
397 nios2*-*-linux*)
398 # Target: Altera Nios II running Linux
399 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
400 symfile-mem.o glibc-tdep.o linux-tdep.o"
401 ;;
402
403 nios2*-*-*)
404 # Target: Altera Nios II bare-metal
405 gdb_target_obs="nios2-tdep.o"
406 ;;
407
408 powerpc*-*-freebsd*)
409 # Target: FreeBSD/powerpc
410 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
411 ppcfbsd-tdep.o fbsd-tdep.o solib-svr4.o \
412 ravenscar-thread.o ppc-ravenscar-thread.o"
413 ;;
414
415 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
416 # Target: NetBSD/powerpc
417 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \
418 solib-svr4.o \
419 ravenscar-thread.o ppc-ravenscar-thread.o"
420 gdb_sim=../sim/ppc/libsim.a
421 ;;
422 powerpc-*-openbsd*)
423 # Target: OpenBSD/powerpc
424 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \
425 solib-svr4.o \
426 ravenscar-thread.o ppc-ravenscar-thread.o"
427 ;;
428 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
429 # Target: PowerPC running AIX
430 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
431 ppc-sysv-tdep.o solib-aix.o \
432 ravenscar-thread.o ppc-ravenscar-thread.o"
433 ;;
434 powerpc*-*-linux*)
435 # Target: PowerPC running Linux
436 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
437 ppc64-tdep.o solib-svr4.o solib-spu.o \
438 spu-multiarch.o \
439 glibc-tdep.o symfile-mem.o linux-tdep.o \
440 ravenscar-thread.o ppc-ravenscar-thread.o"
441 gdb_sim=../sim/ppc/libsim.a
442 build_gdbserver=yes
443 ;;
444 powerpc-*-lynx*178)
445 # Target: PowerPC running Lynx178.
446 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
447 xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \
448 ravenscar-thread.o ppc-ravenscar-thread.o"
449 ;;
450 powerpc*-*-*)
451 # Target: PowerPC running eabi
452 gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \
453 dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \
454 ravenscar-thread.o ppc-ravenscar-thread.o"
455 if test -f ../sim/ppc/Makefile; then
456 gdb_sim=../sim/ppc/libsim.a
457 fi
458 ;;
459
460 s390*-*-linux*)
461 # Target: S390 running Linux
462 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o"
463 build_gdbserver=yes
464 ;;
465
466 rl78-*-elf)
467 # Target: Renesas rl78
468 gdb_target_obs="rl78-tdep.o"
469 gdb_sim=../sim/rl78/libsim.a
470 ;;
471
472 rx-*-elf)
473 # Target: Renesas RX
474 gdb_target_obs="rx-tdep.o"
475 gdb_sim=../sim/rx/libsim.a
476 ;;
477
478 score-*-*)
479 # Target: S+core embedded system
480 gdb_target_obs="score-tdep.o"
481 if test -f ../sim/score/Makefile; then
482 gdb_sim=../sim/score/libsim.a
483 fi
484 build_gdbserver=yes
485 ;;
486
487 sh*-*-linux*)
488 # Target: GNU/Linux Super-H
489 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o monitor.o \
490 dsrec.o solib-svr4.o symfile-mem.o \
491 glibc-tdep.o linux-tdep.o"
492 gdb_sim=../sim/sh/libsim.a
493 build_gdbserver=yes
494 ;;
495 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
496 # Target: NetBSD/sh
497 gdb_target_obs="sh-tdep.o shnbsd-tdep.o solib-svr4.o"
498 gdb_sim=../sim/sh/libsim.a
499 ;;
500 sh*-*-openbsd*)
501 # Target: OpenBSD/sh
502 gdb_target_obs="sh-tdep.o sh64-tdep.o shnbsd-tdep.o solib-svr4.o"
503 ;;
504 sh64-*-elf*)
505 # Target: Renesas/Super-H 64 bit with simulator
506 gdb_target_obs="sh-tdep.o sh64-tdep.o"
507 gdb_sim=../sim/sh64/libsim.a
508 ;;
509 sh*)
510 # Target: Embedded Renesas Super-H with ICE and simulator
511 gdb_target_obs="sh-tdep.o sh64-tdep.o monitor.o dsrec.o"
512 gdb_sim=../sim/sh/libsim.a
513 ;;
514
515 sparc-*-linux*)
516 # Target: GNU/Linux SPARC
517 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
518 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
519 linux-tdep.o \
520 ravenscar-thread.o sparc-ravenscar-thread.o"
521 if test "x$enable_64_bit_bfd" = "xyes"; then
522 # Target: GNU/Linux UltraSPARC
523 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
524 sparc64-linux-tdep.o ${gdb_target_obs}"
525 fi
526 build_gdbserver=yes
527 ;;
528 sparc64-*-linux*)
529 # Target: GNU/Linux UltraSPARC
530 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
531 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
532 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
533 ravenscar-thread.o sparc-ravenscar-thread.o"
534 build_gdbserver=yes
535 ;;
536 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
537 # Target: FreeBSD/sparc64
538 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
539 fbsd-tdep.o solib-svr4.o \
540 ravenscar-thread.o sparc-ravenscar-thread.o"
541 ;;
542 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
543 # Target: NetBSD/sparc
544 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
545 solib-svr4.o \
546 ravenscar-thread.o sparc-ravenscar-thread.o"
547 ;;
548 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
549 # Target: NetBSD/sparc64
550 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
551 sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
552 ravenscar-thread.o sparc-ravenscar-thread.o"
553 ;;
554 sparc-*-openbsd*)
555 # Target: OpenBSD/sparc
556 gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
557 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
558 ravenscar-thread.o sparc-ravenscar-thread.o"
559 ;;
560 sparc64-*-openbsd*)
561 # Target: OpenBSD/sparc64
562 gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
563 sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
564 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
565 ravenscar-thread.o sparc-ravenscar-thread.o"
566 ;;
567 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
568 # Target: Solaris SPARC
569 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
570 solib-svr4.o \
571 ravenscar-thread.o sparc-ravenscar-thread.o"
572 ;;
573 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
574 # Target: Solaris UltraSPARC
575 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
576 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
577 ravenscar-thread.o sparc-ravenscar-thread.o"
578 ;;
579 sparc-*-*)
580 # Target: SPARC
581 gdb_target_obs="sparc-tdep.o \
582 ravenscar-thread.o sparc-ravenscar-thread.o"
583 gdb_sim=../sim/erc32/libsim.a
584 ;;
585 sparc64-*-*)
586 # Target: UltraSPARC
587 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
588 ravenscar-thread.o sparc-ravenscar-thread.o"
589 ;;
590
591 spu*-*-*)
592 # Target: Cell BE SPU
593 gdb_target_obs="spu-tdep.o"
594 build_gdbserver=yes
595 ;;
596
597 tic6x-*-*linux)
598 # Target: GNU/Linux TI C6x
599 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
600 glibc-tdep.o linux-tdep.o"
601 ;;
602
603 tic6x-*-*)
604 # Target: TI C6X
605 gdb_target_obs="tic6x-tdep.o"
606 ;;
607
608 tilegx-*-linux*)
609 # Target: TILE-Gx
610 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
611 symfile-mem.o glibc-tdep.o linux-tdep.o"
612 build_gdbserver=yes
613 ;;
614
615 xstormy16-*-*)
616 # Target: Sanyo Xstormy16a processor
617 gdb_target_obs="xstormy16-tdep.o"
618 # No simulator libraries are needed -- target uses SID.
619 ;;
620
621 v850*-*-elf | v850*-*-rtems*)
622 # Target: NEC V850 processor
623 gdb_target_obs="v850-tdep.o"
624 gdb_sim=../sim/v850/libsim.a
625 ;;
626
627 vax-*-netbsd* | vax-*-knetbsd*-gnu)
628 # Target: NetBSD/vax
629 gdb_target_obs="vax-tdep.o vaxnbsd-tdep.o solib-svr4.o"
630 ;;
631 vax-*-openbsd*)
632 # Target: OpenBSD/vax
633 gdb_target_obs="vax-tdep.o vaxobsd-tdep.o"
634 ;;
635 vax-*-*)
636 # Target: VAX running 4.2BSD or Ultrix
637 gdb_target_obs="vax-tdep.o"
638 ;;
639
640 x86_64-*-darwin*)
641 # Target: Darwin/x86-64
642 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
643 i386-darwin-tdep.o amd64-darwin-tdep.o \
644 solib-darwin.o"
645 ;;
646
647 x86_64-*-dicos*)
648 # Target: DICOS/x86-64
649 gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \
650 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
651 ;;
652 x86_64-*-linux*)
653 # Target: GNU/Linux x86-64
654 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \
655 i387-tdep.o i386-linux-tdep.o glibc-tdep.o \
656 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
657 build_gdbserver=yes
658 ;;
659 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
660 # Target: FreeBSD/amd64
661 gdb_target_obs="amd64-tdep.o amd64fbsd-tdep.o i386-tdep.o \
662 i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
663 bsd-uthread.o fbsd-tdep.o solib-svr4.o"
664 ;;
665 x86_64-*-mingw* | x86_64-*-cygwin*)
666 # Target: MingW/amd64
667 gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
668 i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
669 windows-tdep.o"
670 build_gdbserver=yes
671 ;;
672 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
673 # Target: NetBSD/amd64
674 gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
675 nbsd-tdep.o solib-svr4.o"
676 ;;
677 x86_64-*-openbsd*)
678 # Target: OpenBSD/amd64
679 gdb_target_obs="amd64-tdep.o amd64obsd-tdep.o i386-tdep.o \
680 i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
681 obsd-tdep.o bsd-uthread.o solib-svr4.o"
682 ;;
683 xtensa*-*-linux*) gdb_target=linux
684 # Target: GNU/Linux Xtensa
685 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
686 solib-svr4.o symfile-mem.o linux-tdep.o"
687 build_gdbserver=yes
688 ;;
689 xtensa*)
690 # Target: Tensilica Xtensa processors
691 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
692 ;;
693
694 esac
695
696 # map target onto default OS ABI
697
698 case "${targ}" in
699 *-*-freebsd* | *-*-kfreebsd*-gnu)
700 gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
701 *-*-linux* | *-*-uclinux*)
702 gdb_osabi=GDB_OSABI_LINUX ;;
703 *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
704 m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
705 *-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
706 *-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
707 *-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
708 *-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
709 *-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
710 *-*-mingw* | *-*-cygwin*)
711 gdb_osabi=GDB_OSABI_CYGWIN ;;
712 *-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
713 *-*-symbianelf*)
714 gdb_osabi=GDB_OSABI_SYMBIAN ;;
715 powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
716 gdb_osabi=GDB_OSABI_AIX ;;
717 esac
718
719 # Check whether this target supports gcore.
720 # Such target has to call set_gdbarch_find_memory_regions.
721 gdb_have_gcore=false
722 for t in x ${gdb_target_obs}; do
723 if test "$t" = linux-tdep.o; then
724 gdb_have_gcore=true
725 fi
726 done
This page took 0.061314 seconds and 5 git commands to generate.