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