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