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