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