Remove support for Solaris < 10 (PR gdb/22185)
[deliverable/binutils-gdb.git] / gdb / configure.tgt
CommitLineData
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
b292c783 9# gdb_have_gcore set to "true"/"false" if this target can run gcore
c906108c 10
6d10c194
UW
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
d0c678e6 15case $targ in
3831839c 16 *-*-irix* | \
32a8097b 17 alpha*-*-osf* | \
1e1a8bef
JB
18 alpha*-*-freebsd* | \
19 alpha*-*-kfreebsd*-gnu | \
7ce59000 20 d10v-*-* | \
483367ee
DJ
21 hppa*-*-hiux* | \
22 i[34567]86-ncr-* | \
483367ee
DJ
23 m68*-cisco*-* | \
24 m68*-tandem-* | \
25 m68*-*-os68k* | \
ad527d2e 26 mips*-*-pe | \
483367ee 27 rs6000-*-lynxos* | \
ad527d2e 28 sh*-*-pe | \
61a12cfa
JK
29 hppa*-*-hpux* | \
30 ia64-*-hpux* | \
78836e90 31 *-*-vxworks* | \
483367ee 32 null)
d0c678e6 33 echo "*** Configuration $targ is obsolete." >&2
483367ee
DJ
34 echo "*** Support has been REMOVED." >&2
35 exit 1
36 ;;
37esac
38
c906108c
SS
39# map target info into gdb names.
40
d0c678e6 41case "${targ}" in
12a132db 42aarch64*-*-elf | aarch64*-*-rtems*)
07b287a0 43 # Target: AArch64 embedded system
787749ea 44 gdb_target_obs="aarch64-tdep.o aarch64-newlib-tdep.o aarch64-insn.o"
07b287a0
MS
45 ;;
46
c0f84956
JB
47aarch64*-*-freebsd*)
48 # Target: FreeBSD/aarch64
0a0bf5dc
YQ
49 gdb_target_obs="aarch64-tdep.o aarch64-fbsd-tdep.o aarch64-insn.o \
50 fbsd-tdep.o solib-svr4.o"
c0f84956
JB
51 ;;
52
1ae3db19
MS
53aarch64*-*-linux*)
54 # Target: AArch64 linux
787749ea 55 gdb_target_obs="aarch64-tdep.o aarch64-linux-tdep.o aarch64-insn.o \
d9311bfa
AT
56 arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
57 arm-linux-tdep.o \
1ae3db19 58 glibc-tdep.o linux-tdep.o solib-svr4.o \
99afc88b 59 symfile-mem.o linux-record.o"
176eb98c 60 build_gdbserver=yes
1ae3db19 61 ;;
c906108c 62
732cd360 63alpha*-*-linux*)
a4ce5b0d
UW
64 # Target: Little-endian Alpha running Linux
65 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \
8574e74b 66 linux-tdep.o solib-svr4.o"
732cd360 67 ;;
69489883 68alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
a4ce5b0d 69 # Target: NetBSD/alpha
03b62bbb
SM
70 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \
71 alpha-nbsd-tdep.o nbsd-tdep.o solib-svr4.o"
732cd360
UW
72 ;;
73alpha*-*-openbsd*)
a4ce5b0d 74 # Target: OpenBSD/alpha
03b62bbb
SM
75 gdb_target_obs="alpha-tdep.o alpha-mdebug-tdep.o alpha-bsd-tdep.o \
76 alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o \
06b9f45f 77 obsd-tdep.o solib-svr4.o"
732cd360
UW
78 ;;
79alpha*-*-*)
a4ce5b0d
UW
80 # Target: Alpha
81 gdb_target_obs="alpha-tdep.o"
732cd360 82 ;;
c906108c 83
732cd360 84am33_2.0*-*-linux*)
a4ce5b0d 85 # Target: Matsushita mn10300 (AM33) running Linux
a3217aa0 86 gdb_target_obs="mn10300-tdep.o mn10300-linux-tdep.o linux-tdep.o \
06b9f45f 87 solib-svr4.o"
732cd360 88 ;;
63a09be5 89
4a2f4826
AK
90arc*-*-elf32)
91 # Target: baremetal ARC elf32 (newlib) target
92 gdb_target_obs="arc-newlib-tdep.o arc-tdep.o"
93 ;;
94
ad0a504f 95arc*-*-*)
4a2f4826 96 # Target: Unidentified ARC target
ad0a504f
AK
97 gdb_target_obs="arc-tdep.o"
98 ;;
99
68070c10 100arm*-wince-pe | arm*-*-mingw32ce*)
a4ce5b0d 101 # Target: ARM based machine running Windows CE (win32)
d9311bfa
AT
102 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o \
103 arm-wince-tdep.o windows-tdep.o"
732cd360
UW
104 build_gdbserver=yes
105 ;;
106arm*-*-linux*)
a4ce5b0d 107 # Target: ARM based machine running GNU/Linux
d9311bfa
AT
108 gdb_target_obs="arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
109 arm-linux-tdep.o glibc-tdep.o \
97dfe206 110 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
732cd360
UW
111 build_gdbserver=yes
112 ;;
69489883 113arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
a4ce5b0d 114 # Target: NetBSD/arm
03b62bbb 115 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-nbsd-tdep.o \
d9311bfa 116 solib-svr4.o"
732cd360
UW
117 ;;
118arm*-*-openbsd*)
a4ce5b0d 119 # Target: OpenBSD/arm
03b62bbb
SM
120 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-bsd-tdep.o \
121 arm-obsd-tdep.o obsd-tdep.o solib-svr4.o"
732cd360 122 ;;
78664fa3
PA
123arm*-*-symbianelf*)
124 # Target: SymbianOS/arm
d9311bfa 125 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o arm-symbian-tdep.o"
78664fa3 126 ;;
4d393d60 127arm*-*-*)
a4ce5b0d 128 # Target: ARM embedded system
d9311bfa 129 gdb_target_obs="arm.o arm-get-next-pcs.o arm-tdep.o"
9b624dbe 130 gdb_sim=../sim/arm/libsim.a
732cd360
UW
131 ;;
132
133avr-*-*)
a4ce5b0d
UW
134 # Target: AVR
135 gdb_target_obs="avr-tdep.o"
64c9be2e 136 gdb_sim=../sim/avr/libsim.a
732cd360
UW
137 ;;
138
91021223
MF
139bfin-*-*linux*)
140 # Target: Blackfin Linux
141 gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
5387a0c6 142 gdb_sim=../sim/bfin/libsim.a
eb826dc6 143 build_gdbserver=yes
91021223
MF
144 ;;
145bfin-*-*)
146 # Target: Blackfin processor
147 gdb_target_obs="bfin-tdep.o"
5387a0c6 148 gdb_sim=../sim/bfin/libsim.a
91021223
MF
149 ;;
150
732cd360 151cris*)
a4ce5b0d 152 # Target: CRIS
749c8b38 153 gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"
732cd360
UW
154 ;;
155
732cd360 156frv-*-*)
a4ce5b0d 157 # Target: Fujitsu FRV processor
06b9f45f 158 gdb_target_obs="frv-tdep.o frv-linux-tdep.o linux-tdep.o solib-frv.o"
9b624dbe 159 gdb_sim=../sim/frv/libsim.a
732cd360
UW
160 ;;
161
91529dc5 162moxie-*-elf | moxie-*-moxiebox | moxie-*-rtems*)
d7066cce 163 gdb_target_obs="moxie-tdep.o"
c7098c41 164 gdb_sim=../sim/moxie/libsim.a
d7066cce
AG
165 ;;
166
732cd360 167h8300-*-*)
40e0b271
PA
168 # Target: H8300 processor
169 gdb_target_obs="h8300-tdep.o"
9b624dbe 170 gdb_sim=../sim/h8300/libsim.a
732cd360
UW
171 ;;
172
732cd360 173hppa*-*-linux*)
a4ce5b0d
UW
174 # Target: HP PA-RISC running Linux
175 gdb_target_obs="hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o \
8574e74b 176 linux-tdep.o solib-svr4.o symfile-mem.o"
732cd360 177 ;;
af5ca30d
NH
178hppa*-*-netbsd*)
179 # Target: NetBSD/hppa
03b62bbb 180 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
af5ca30d 181 ;;
732cd360 182hppa*-*-openbsd*)
a4ce5b0d 183 # Target: OpenBSD/hppa
03b62bbb 184 gdb_target_obs="hppa-tdep.o hppa-bsd-tdep.o hppa-obsd-tdep.o solib-svr4.o"
732cd360
UW
185 ;;
186hppa*-*-*)
a4ce5b0d
UW
187 # Target: HP PA-RISC
188 gdb_target_obs="hppa-tdep.o"
732cd360 189 ;;
c906108c 190
5cd226f2 191i[34567]86-*-darwin*)
a80b95ba 192 # Target: Darwin/i386
22916b07 193 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o \
8574e74b 194 i386-darwin-tdep.o solib-darwin.o"
5cd226f2
TG
195 if test "x$enable_64_bit_bfd" = "xyes"; then
196 # Target: GNU/Linux x86-64
8d200706 197 gdb_target_obs="amd64-tdep.o amd64.o amd64-darwin-tdep.o ${gdb_target_obs}"
5cd226f2 198 fi
a80b95ba 199 ;;
a15c5c83
PA
200i[34567]86-*-dicos*)
201 # Target: DICOS/i386
22916b07 202 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o dicos-tdep.o i386-dicos-tdep.o"
a15c5c83 203 ;;
fa987fc4 204i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
a4ce5b0d 205 # Target: FreeBSD/i386
22916b07
YQ
206 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
207 i386-fbsd-tdep.o fbsd-tdep.o solib-svr4.o"
fa987fc4 208 ;;
48184fd4 209i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
a4ce5b0d 210 # Target: NetBSD/i386
22916b07
YQ
211 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
212 i386-nbsd-tdep.o nbsd-tdep.o solib-svr4.o"
732cd360
UW
213 ;;
214i[34567]86-*-openbsd*)
a4ce5b0d 215 # Target: OpenBSD/i386
22916b07
YQ
216 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-bsd-tdep.o \
217 i386-obsd-tdep.o obsd-tdep.o bsd-uthread.o \
218 solib-svr4.o"
732cd360
UW
219 ;;
220i[34567]86-*-nto*)
a4ce5b0d 221 # Target: Intel 386 running qnx6.
22916b07 222 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o solib-svr4.o \
a4ce5b0d 223 i386-nto-tdep.o nto-tdep.o"
7f86f499 224 build_gdbserver=yes
732cd360 225 ;;
281c4447 226i[34567]86-*-solaris2* | x86_64-*-solaris2*)
a4ce5b0d 227 # Target: Solaris x86_64
8d200706 228 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o amd64-tdep.o amd64.o \
22916b07
YQ
229 amd64-sol2-tdep.o i386-sol2-tdep.o sol2-tdep.o \
230 solib-svr4.o"
732cd360 231 ;;
732cd360 232i[34567]86-*-linux*)
a4ce5b0d 233 # Target: Intel 386 running GNU/Linux
5f035c07
YQ
234 gdb_target_obs="i386-tdep.o i386.o i386-linux-tdep.o \
235 glibc-tdep.o i387-tdep.o \
06b9f45f 236 solib-svr4.o symfile-mem.o \
b7f6bf22 237 linux-tdep.o linux-record.o"
0ca8834f
JM
238 if test "x$enable_64_bit_bfd" = "xyes"; then
239 # Target: GNU/Linux x86-64
8d200706 240 gdb_target_obs="amd64-tdep.o amd64.o amd64-linux-tdep.o ${gdb_target_obs}"
0ca8834f 241 fi
732cd360
UW
242 build_gdbserver=yes
243 ;;
244i[34567]86-*-gnu*)
a4ce5b0d 245 # Target: Intel 386 running the GNU Hurd
22916b07 246 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-gnu-tdep.o solib-svr4.o"
732cd360
UW
247 ;;
248i[34567]86-*-cygwin*)
a4ce5b0d 249 # Target: Intel 386 running win32
22916b07 250 gdb_target_obs="i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
06b9f45f 251 windows-tdep.o"
732cd360
UW
252 build_gdbserver=yes
253 ;;
254i[34567]86-*-mingw32*)
a4ce5b0d 255 # Target: Intel 386 running win32
22916b07 256 gdb_target_obs="i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
06b9f45f 257 windows-tdep.o"
732cd360
UW
258 build_gdbserver=yes
259 ;;
8f10c932
PA
260i[34567]86-*-go32* | i[34567]86-*-msdosdjgpp*)
261 # Target: i386 running DJGPP/go32.
22916b07 262 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o i386-go32-tdep.o"
8f10c932 263 ;;
732cd360 264i[34567]86-*-*)
a4ce5b0d 265 # Target: i386
22916b07 266 gdb_target_obs="i386-tdep.o i386.o i387-tdep.o"
732cd360
UW
267 ;;
268
269ia64-*-linux*)
a4ce5b0d 270 # Target: Intel IA-64 running GNU/Linux
a3217aa0 271 gdb_target_obs="ia64-tdep.o ia64-linux-tdep.o linux-tdep.o \
8574e74b 272 solib-svr4.o symfile-mem.o"
732cd360
UW
273 build_gdbserver=yes
274 ;;
696759ad
TG
275ia64-*-*vms*)
276 # Target: Intel IA-64 running OpenVMS
277 gdb_target_obs="ia64-tdep.o ia64-vms-tdep.o"
278 ;;
732cd360 279ia64*-*-*)
a4ce5b0d
UW
280 # Target: Intel IA-64
281 gdb_target_obs="ia64-tdep.o"
732cd360
UW
282 ;;
283
284iq2000-*-*)
a4ce5b0d 285 gdb_target_obs="iq2000-tdep.o"
9b624dbe 286 gdb_sim=../sim/iq2000/libsim.a
732cd360
UW
287 ;;
288
c28c63d8
JB
289lm32-*-*)
290 gdb_target_obs="lm32-tdep.o"
291 gdb_sim=../sim/lm32/libsim.a
292 ;;
293
732cd360 294m32c-*-*)
a4ce5b0d 295 # Target: Renesas M32C family
57295b0b 296 gdb_target_obs="m32c-tdep.o"
9b624dbe
UW
297 # There may also be a SID / CGEN simulator for this,
298 # but we do have DJ Delorie's mini-sim.
299 gdb_sim=../sim/m32c/libsim.a
732cd360
UW
300 ;;
301
302m32r*-*-linux*)
a4ce5b0d 303 # Target: Renesas M32R running GNU/Linux
f7c38292 304 gdb_target_obs="m32r-tdep.o m32r-linux-tdep.o \
8574e74b 305 glibc-tdep.o solib-svr4.o symfile-mem.o \
a3217aa0 306 linux-tdep.o"
9b624dbe 307 gdb_sim=../sim/m32r/libsim.a
732cd360
UW
308 build_gdbserver=yes
309 ;;
310m32r*-*-*)
a4ce5b0d 311 # Target: Renesas m32r processor
f7c38292 312 gdb_target_obs="m32r-tdep.o"
9b624dbe 313 gdb_sim=../sim/m32r/libsim.a
732cd360
UW
314 ;;
315
316m68hc11*-*-*|m6811*-*-*)
a4ce5b0d
UW
317 # Target: Motorola 68HC11 processor
318 gdb_target_obs="m68hc11-tdep.o"
9b624dbe 319 gdb_sim=../sim/m68hc11/libsim.a
732cd360
UW
320 ;;
321
fa987fc4
UW
322m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
323fido-*-elf*)
40e0b271
PA
324 # Target: Motorola m68k embedded
325 gdb_target_obs="m68k-tdep.o"
732cd360
UW
326 ;;
327m68*-*-linux*)
a4ce5b0d 328 # Target: Motorola m68k with a.out and ELF
03b62bbb 329 gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
a3217aa0 330 linux-tdep.o glibc-tdep.o symfile-mem.o"
732cd360
UW
331 build_gdbserver=yes
332 ;;
69489883 333m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
a4ce5b0d 334 # Target: NetBSD/m68k
03b62bbb 335 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
732cd360
UW
336 ;;
337m68*-*-openbsd*)
a4ce5b0d 338 # Target: OpenBSD/m68k
03b62bbb 339 gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o solib-svr4.o"
732cd360 340 ;;
732cd360
UW
341
342m88*-*-openbsd*)
a4ce5b0d 343 # Target: OpenBSD/m88k
06b9f45f 344 gdb_target_obs="m88k-tdep.o"
732cd360
UW
345 ;;
346
347mep-*-*)
a4ce5b0d 348 # Target: Toshiba Media Processor (MEP)
57295b0b 349 gdb_target_obs="mep-tdep.o"
a4ce5b0d 350 # No sim needed. Target uses SID.
732cd360
UW
351 ;;
352
97fc68fe 353microblaze*-linux-*|microblaze*-*-linux*)
2d1c1221 354 # Target: Xilinx MicroBlaze running Linux
40e0b271
PA
355 gdb_target_obs="microblaze-tdep.o microblaze-linux-tdep.o solib-svr4.o \
356 symfile-mem.o linux-tdep.o"
2d1c1221
ME
357 gdb_sim=../sim/microblaze/libsim.a
358 ;;
97fc68fe 359microblaze*-*-*)
2d1c1221 360 # Target: Xilinx MicroBlaze running standalone
40e0b271 361 gdb_target_obs="microblaze-tdep.o"
2d1c1221
ME
362 gdb_sim=../sim/microblaze/libsim.a
363 ;;
364
732cd360 365mips*-*-linux*)
a4ce5b0d 366 # Target: Linux/MIPS
db5f024e 367 gdb_target_obs="mips-tdep.o mips-linux-tdep.o glibc-tdep.o \
06b9f45f 368 solib-svr4.o symfile-mem.o linux-tdep.o"
9b624dbe 369 gdb_sim=../sim/mips/libsim.a
732cd360
UW
370 build_gdbserver=yes
371 ;;
69489883 372mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
a4ce5b0d 373 # Target: MIPS running NetBSD
03b62bbb 374 gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o solib-svr4.o nbsd-tdep.o"
9b624dbe 375 gdb_sim=../sim/mips/libsim.a
732cd360 376 ;;
387360da
JB
377mips*-*-freebsd*)
378 # Target: MIPS running FreeBSD
379 gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o solib-svr4.o fbsd-tdep.o"
380 gdb_sim=../sim/mips/libsim.a
381 ;;
732cd360 382mips64*-*-openbsd*)
a4ce5b0d 383 # Target: OpenBSD/mips64
03b62bbb 384 gdb_target_obs="mips-tdep.o mips64-obsd-tdep.o obsd-tdep.o solib-svr4.o"
732cd360 385 ;;
bb7e3f4d
YQ
386mips*-sde*-elf*)
387 # Target: MIPS SDE
f7c38292 388 gdb_target_obs="mips-tdep.o mips-sde-tdep.o"
bb7e3f4d
YQ
389 gdb_sim=../sim/mips/libsim.a
390 ;;
314d366a
KB
391mips*-*-elf)
392 # Target: MIPS ELF
f7c38292 393 gdb_target_obs="mips-tdep.o"
314d366a
KB
394 gdb_sim=../sim/mips/libsim.a
395 ;;
732cd360 396mips*-*-*)
a4ce5b0d
UW
397 # Target: MIPS
398 gdb_target_obs="mips-tdep.o"
9b624dbe 399 gdb_sim=../sim/mips/libsim.a
732cd360
UW
400 ;;
401
402mn10300-*-*)
a4ce5b0d
UW
403 # Target: Matsushita mn10300
404 gdb_target_obs="mn10300-tdep.o"
9b624dbe 405 gdb_sim=../sim/mn10300/libsim.a
732cd360
UW
406 ;;
407
586cf749
KB
408msp430*-*-elf)
409 gdb_target_obs="msp430-tdep.o"
410 gdb_sim=../sim/msp430/libsim.a
411 ;;
412
732cd360 413mt-*-*)
a4ce5b0d
UW
414 # Target: Morpho Technologies ms1 processor
415 gdb_target_obs="mt-tdep.o"
732cd360 416 ;;
61def6bd 417
a28d8e50
YTL
418nds32*-*-elf)
419 # Target: AndesTech NDS32 core
420 gdb_target_obs="nds32-tdep.o"
421 ;;
422
a1217d97
SL
423nios2*-*-linux*)
424 # Target: Altera Nios II running Linux
425 gdb_target_obs="nios2-tdep.o nios2-linux-tdep.o solib-svr4.o \
426 symfile-mem.o glibc-tdep.o linux-tdep.o"
427 ;;
428
429nios2*-*-*)
430 # Target: Altera Nios II bare-metal
431 gdb_target_obs="nios2-tdep.o"
432 ;;
433
dc18f110
AT
434powerpc*-*-freebsd*)
435 # Target: FreeBSD/powerpc
436 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
03b62bbb 437 ppc-fbsd-tdep.o fbsd-tdep.o solib-svr4.o \
dc18f110
AT
438 ravenscar-thread.o ppc-ravenscar-thread.o"
439 ;;
440
69489883 441powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
a4ce5b0d 442 # Target: NetBSD/powerpc
03b62bbb 443 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
debb1f09
JB
444 solib-svr4.o \
445 ravenscar-thread.o ppc-ravenscar-thread.o"
9b624dbe 446 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
447 ;;
448powerpc-*-openbsd*)
a4ce5b0d 449 # Target: OpenBSD/powerpc
03b62bbb 450 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-obsd-tdep.o \
debb1f09
JB
451 solib-svr4.o \
452 ravenscar-thread.o ppc-ravenscar-thread.o"
732cd360 453 ;;
49de1690 454powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
a4ce5b0d
UW
455 # Target: PowerPC running AIX
456 gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \
4d1eb6b4 457 ppc-sysv-tdep.o solib-aix.o \
debb1f09 458 ravenscar-thread.o ppc-ravenscar-thread.o"
732cd360 459 ;;
bcbec14e 460powerpc*-*-linux*)
a4ce5b0d
UW
461 # Target: PowerPC running Linux
462 gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \
d78489bf
AT
463 ppc64-tdep.o solib-svr4.o solib-spu.o \
464 spu-multiarch.o \
debb1f09 465 glibc-tdep.o symfile-mem.o linux-tdep.o \
b4cdae6f
WW
466 ravenscar-thread.o ppc-ravenscar-thread.o \
467 linux-record.o "
9b624dbe 468 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
469 build_gdbserver=yes
470 ;;
d5367fe1
JB
471powerpc-*-lynx*178)
472 # Target: PowerPC running Lynx178.
473 gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \
40e0b271 474 xcoffread.o ppc-sysv-tdep.o \
d5367fe1
JB
475 ravenscar-thread.o ppc-ravenscar-thread.o"
476 ;;
732cd360 477powerpc*-*-*)
a4ce5b0d 478 # Target: PowerPC running eabi
40e0b271 479 gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
debb1f09 480 ravenscar-thread.o ppc-ravenscar-thread.o"
32273fe6 481 gdb_sim=../sim/ppc/libsim.a
732cd360
UW
482 ;;
483
0e5fae36 484s390*-*-linux*)
a4ce5b0d 485 # Target: S390 running Linux
566c56c9
MK
486 gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
487 linux-record.o"
732cd360
UW
488 build_gdbserver=yes
489 ;;
490
9058f767
KB
491rl78-*-elf)
492 # Target: Renesas rl78
493 gdb_target_obs="rl78-tdep.o"
494 gdb_sim=../sim/rl78/libsim.a
495 ;;
496
baa835b4
KB
497rx-*-elf)
498 # Target: Renesas RX
499 gdb_target_obs="rx-tdep.o"
500 gdb_sim=../sim/rx/libsim.a
501 ;;
502
732cd360 503score-*-*)
a4ce5b0d 504 # Target: S+core embedded system
06b9f45f 505 gdb_target_obs="score-tdep.o"
5f814c3b 506 build_gdbserver=yes
732cd360
UW
507 ;;
508
e25c958c 509sh*-*-linux*)
a4ce5b0d 510 # Target: GNU/Linux Super-H
40e0b271
PA
511 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
512 solib-svr4.o symfile-mem.o \
06b9f45f 513 glibc-tdep.o linux-tdep.o"
9b624dbe 514 gdb_sim=../sim/sh/libsim.a
732cd360
UW
515 build_gdbserver=yes
516 ;;
69489883 517sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
a4ce5b0d 518 # Target: NetBSD/sh
03b62bbb 519 gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o solib-svr4.o"
9b624dbe 520 gdb_sim=../sim/sh/libsim.a
732cd360
UW
521 ;;
522sh*-*-openbsd*)
a4ce5b0d 523 # Target: OpenBSD/sh
03b62bbb 524 gdb_target_obs="sh-tdep.o sh64-tdep.o sh-nbsd-tdep.o solib-svr4.o"
732cd360
UW
525 ;;
526sh64-*-elf*)
a4ce5b0d
UW
527 # Target: Renesas/Super-H 64 bit with simulator
528 gdb_target_obs="sh-tdep.o sh64-tdep.o"
9b624dbe 529 gdb_sim=../sim/sh64/libsim.a
732cd360
UW
530 ;;
531sh*)
40e0b271
PA
532 # Target: Embedded Renesas Super-H processor
533 gdb_target_obs="sh-tdep.o sh64-tdep.o"
9b624dbe 534 gdb_sim=../sim/sh/libsim.a
732cd360
UW
535 ;;
536
537sparc-*-linux*)
a4ce5b0d
UW
538 # Target: GNU/Linux SPARC
539 gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
8574e74b 540 sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
7e35103a 541 linux-tdep.o \
e6f9c00b 542 ravenscar-thread.o sparc-ravenscar-thread.o"
0ca8834f
JM
543 if test "x$enable_64_bit_bfd" = "xyes"; then
544 # Target: GNU/Linux UltraSPARC
545 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
546 sparc64-linux-tdep.o ${gdb_target_obs}"
547 fi
d8fb5a1e 548 build_gdbserver=yes
732cd360
UW
549 ;;
550sparc64-*-linux*)
a4ce5b0d
UW
551 # Target: GNU/Linux UltraSPARC
552 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
553 sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
7e35103a 554 sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
e6f9c00b 555 ravenscar-thread.o sparc-ravenscar-thread.o"
dfb64f85 556 build_gdbserver=yes
732cd360 557 ;;
fa987fc4 558sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
a4ce5b0d 559 # Target: FreeBSD/sparc64
03b62bbb 560 gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64-fbsd-tdep.o \
e5139de8 561 fbsd-tdep.o solib-svr4.o \
e6f9c00b 562 ravenscar-thread.o sparc-ravenscar-thread.o"
fa987fc4 563 ;;
69489883 564sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
a4ce5b0d 565 # Target: NetBSD/sparc
03b62bbb 566 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o nbsd-tdep.o \
7e35103a 567 solib-svr4.o \
e6f9c00b 568 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360 569 ;;
69489883 570sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
a4ce5b0d 571 # Target: NetBSD/sparc64
03b62bbb
SM
572 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
573 sparc-nbsd-tdep.o nbsd-tdep.o solib-svr4.o \
e6f9c00b 574 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360
UW
575 ;;
576sparc-*-openbsd*)
a4ce5b0d 577 # Target: OpenBSD/sparc
03b62bbb 578 gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
7e35103a 579 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
e6f9c00b 580 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360
UW
581 ;;
582sparc64-*-openbsd*)
a4ce5b0d 583 # Target: OpenBSD/sparc64
03b62bbb
SM
584 gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
585 sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
7e35103a 586 nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
e6f9c00b 587 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360 588 ;;
386c036b 589sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
a4ce5b0d
UW
590 # Target: Solaris UltraSPARC
591 gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
7e35103a 592 sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
e6f9c00b 593 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360 594 ;;
732cd360 595sparc-*-*)
a4ce5b0d 596 # Target: SPARC
5d214698 597 gdb_target_obs="sparc-tdep.o \
e6f9c00b 598 ravenscar-thread.o sparc-ravenscar-thread.o"
0ac7be25 599 gdb_sim=../sim/erc32/libsim.a
732cd360
UW
600 ;;
601sparc64-*-*)
a4ce5b0d 602 # Target: UltraSPARC
7e35103a 603 gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
e6f9c00b 604 ravenscar-thread.o sparc-ravenscar-thread.o"
732cd360
UW
605 ;;
606
607spu*-*-*)
a4ce5b0d
UW
608 # Target: Cell BE SPU
609 gdb_target_obs="spu-tdep.o"
732cd360
UW
610 build_gdbserver=yes
611 ;;
612
8cd64e00
YQ
613tic6x-*-*linux)
614 # Target: GNU/Linux TI C6x
615 gdb_target_obs="tic6x-tdep.o tic6x-linux-tdep.o solib-dsbt.o \
06b9f45f 616 glibc-tdep.o linux-tdep.o"
8cd64e00
YQ
617 ;;
618
619tic6x-*-*)
620 # Target: TI C6X
621 gdb_target_obs="tic6x-tdep.o"
622 ;;
623
ade64f0e 624tilegx-*-linux*)
748d24e6
JW
625 # Target: TILE-Gx
626 gdb_target_obs="tilegx-tdep.o tilegx-linux-tdep.o solib-svr4.o \
ade64f0e 627 symfile-mem.o glibc-tdep.o linux-tdep.o"
4fcd89fc 628 build_gdbserver=yes
748d24e6 629 ;;
ade64f0e 630
732cd360 631xstormy16-*-*)
a4ce5b0d
UW
632 # Target: Sanyo Xstormy16a processor
633 gdb_target_obs="xstormy16-tdep.o"
9b624dbe 634 # No simulator libraries are needed -- target uses SID.
732cd360
UW
635 ;;
636
49d45b20
JB
637ft32-*-elf)
638 gdb_target_obs="ft32-tdep.o"
639 gdb_sim=../sim/ft32/libsim.a
640 ;;
641
6e73ba20 642v850*-*-elf | v850*-*-rtems*)
a4ce5b0d
UW
643 # Target: NEC V850 processor
644 gdb_target_obs="v850-tdep.o"
9b624dbe 645 gdb_sim=../sim/v850/libsim.a
732cd360 646 ;;
181124bc 647
69489883 648vax-*-netbsd* | vax-*-knetbsd*-gnu)
a4ce5b0d 649 # Target: NetBSD/vax
1736a7bd 650 gdb_target_obs="vax-tdep.o solib-svr4.o"
732cd360
UW
651 ;;
652vax-*-openbsd*)
a4ce5b0d 653 # Target: OpenBSD/vax
1736a7bd 654 gdb_target_obs="vax-tdep.o"
732cd360
UW
655 ;;
656vax-*-*)
09dd9a69 657 # Target: VAX
a4ce5b0d 658 gdb_target_obs="vax-tdep.o"
732cd360
UW
659 ;;
660
5cd226f2
TG
661x86_64-*-darwin*)
662 # Target: Darwin/x86-64
d2fcdd85 663 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
5cd226f2 664 i386-darwin-tdep.o amd64-darwin-tdep.o \
8574e74b 665 solib-darwin.o"
5cd226f2
TG
666 ;;
667
a15c5c83
PA
668x86_64-*-dicos*)
669 # Target: DICOS/x86-64
d2fcdd85 670 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
06b9f45f 671 dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o"
a15c5c83 672 ;;
a5716032 673x86_64-*-elf*)
d2fcdd85 674 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o"
a5716032 675 ;;
732cd360 676x86_64-*-linux*)
a4ce5b0d 677 # Target: GNU/Linux x86-64
b4570e4b 678 gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o amd64.o i386-tdep.o \
5f035c07 679 i387-tdep.o i386.o i386-linux-tdep.o glibc-tdep.o \
06b9f45f 680 solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
732cd360
UW
681 build_gdbserver=yes
682 ;;
fa987fc4 683x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
a4ce5b0d 684 # Target: FreeBSD/amd64
22916b07 685 gdb_target_obs="amd64-tdep.o amd64.o amd64-fbsd-tdep.o i386-tdep.o \
d2fcdd85 686 i386.o i387-tdep.o i386-bsd-tdep.o i386-fbsd-tdep.o \
4c7bf4f9 687 fbsd-tdep.o solib-svr4.o"
fa987fc4 688 ;;
b5b0b0af 689x86_64-*-mingw* | x86_64-*-cygwin*)
d0761299 690 # Target: MingW/amd64
22916b07
YQ
691 gdb_target_obs="amd64-tdep.o amd64.o amd64-windows-tdep.o \
692 i386-tdep.o i386.o i386-cygwin-tdep.o i387-tdep.o \
0cd09acb 693 windows-tdep.o"
437125bd 694 build_gdbserver=yes
d0761299 695 ;;
69489883 696x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
a4ce5b0d 697 # Target: NetBSD/amd64
22916b07 698 gdb_target_obs="amd64-tdep.o amd64.o amd64-nbsd-tdep.o i386-tdep.o \
d2fcdd85 699 i386.o i387-tdep.o nbsd-tdep.o solib-svr4.o"
732cd360
UW
700 ;;
701x86_64-*-openbsd*)
a4ce5b0d 702 # Target: OpenBSD/amd64
22916b07 703 gdb_target_obs="amd64-tdep.o amd64.o amd64-obsd-tdep.o i386-tdep.o \
03b62bbb 704 i387-tdep.o i386-bsd-tdep.o i386-obsd-tdep.o \
d2fcdd85 705 i386.o obsd-tdep.o bsd-uthread.o solib-svr4.o"
732cd360 706 ;;
a5716032 707x86_64-*-rtems*)
d2fcdd85
YQ
708 gdb_target_obs="amd64-tdep.o amd64.o i386-tdep.o i386.o i387-tdep.o \
709 i386-bsd-tdep.o"
a5716032 710 ;;
94a0e877
MG
711xtensa*-*-linux*) gdb_target=linux
712 # Target: GNU/Linux Xtensa
713 gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \
06b9f45f 714 solib-svr4.o symfile-mem.o linux-tdep.o"
94a0e877
MG
715 build_gdbserver=yes
716 ;;
732cd360 717xtensa*)
a4ce5b0d 718 # Target: Tensilica Xtensa processors
8574e74b 719 gdb_target_obs="xtensa-tdep.o xtensa-config.o solib-svr4.o"
732cd360 720 ;;
ca3bf3bd 721
c906108c 722esac
2acceee2 723
b00a8037
DJ
724# map target onto default OS ABI
725
d0c678e6 726case "${targ}" in
d5ae309f 727*-*-freebsd* | *-*-kfreebsd*-gnu)
1736a7bd 728 gdb_osabi=GDB_OSABI_FREEBSD ;;
4e18c053
MF
729*-*-linux* | *-*-uclinux*)
730 gdb_osabi=GDB_OSABI_LINUX ;;
1b883d35 731*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
663408c2 732m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;;
1736a7bd 733*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD ;;
5b729aa5 734*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
69489883
NN
735*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
736*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;
fd39ac05
PA
737*-*-mingw32ce*) gdb_osabi=GDB_OSABI_WINCE ;;
738*-*-mingw* | *-*-cygwin*)
739 gdb_osabi=GDB_OSABI_CYGWIN ;;
a15c5c83 740*-*-dicos*) gdb_osabi=GDB_OSABI_DICOS ;;
78664fa3
PA
741*-*-symbianelf*)
742 gdb_osabi=GDB_OSABI_SYMBIAN ;;
49de1690
UW
743powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
744 gdb_osabi=GDB_OSABI_AIX ;;
b00a8037 745esac
b292c783
JK
746
747# Check whether this target supports gcore.
748# Such target has to call set_gdbarch_find_memory_regions.
c96b3c4f
JK
749gdb_have_gcore=false
750for t in x ${gdb_target_obs}; do
751 if test "$t" = linux-tdep.o; then
b292c783 752 gdb_have_gcore=true
c96b3c4f
JK
753 fi
754done
This page took 1.300311 seconds and 4 git commands to generate.