* configure.in: Explicitly `exit 0' for broken shells.
[deliverable/binutils-gdb.git] / gdb / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.3)dnl
3 AC_INIT(main.c)
4
5 CC=${CC-cc}
6 AC_PROG_CC
7 AC_AIX
8 AC_MINIX
9 AC_ISC_POSIX
10
11 AC_PROG_INSTALL
12 AC_PROG_RANLIB
13
14 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
15 AC_CANONICAL_SYSTEM
16 AC_ARG_PROGRAM
17
18 AC_HEADER_STDC
19 AC_CHECK_HEADERS(memory.h string.h strings.h unistd.h)
20 AC_HEADER_STAT
21
22 AC_FUNC_MMAP
23
24 dnl Handle optional features that can be enabled.
25 ENABLE_CFLAGS=
26 ENABLE_CLIBS=
27 ENABLE_OBS=
28
29 AC_ARG_ENABLE(netrom,
30 [ --enable-netrom ],
31 [case "${enableval}" in
32 yes) enable_netrom=yes ;;
33 no) enable_netrom=no ;;
34 *) AC_MSG_ERROR(bad value ${enableval} given for netrom option) ;;
35 esac])
36
37 if test "${enable_netrom}" = "yes"; then
38 ENABLE_OBS="${ENABLE_OBS} remote-nrom.o"
39 fi
40
41 # start-sanitize-gdbtk
42 ENABLE_GDBTK=
43
44 AC_ARG_ENABLE(gdbtk,
45 [ --enable-gdbtk ],
46 [case "${enableval}" in
47 yes) enable_gdbtk=yes ;;
48 no) enable_gdbtk=no ;;
49 *) AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
50 esac])
51
52 if test "${enable_gdbtk}" = "yes"; then
53 AC_PATH_X
54 AC_PATH_XTRA
55
56 CYGNUS_PATH_TK
57 CYGNUS_PATH_TCL
58
59 ENABLE_GDBTK=1
60 TCL_LIBS='$(TCL) $(TK) $(X11)'
61 ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS} -lm"
62 ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
63 fi
64 AC_SUBST(ENABLE_GDBTK)
65 # end-sanitize-gdbtk
66
67 AC_SUBST(ENABLE_CFLAGS)
68 AC_SUBST(ENABLE_CLIBS)
69 AC_SUBST(ENABLE_OBS)
70
71
72 configdirs="doc testsuite"
73
74 dnl
75 changequote(,)dnl
76
77 # Map host cpu into the config cpu subdirectory name.
78 # The default is $host_cpu.
79
80 case "${host_cpu}" in
81
82 c[12]) gdb_host_cpu=convex ;;
83 hppa*) gdb_host_cpu=pa ;;
84 i[345]86) gdb_host_cpu=i386 ;;
85 m68*) gdb_host_cpu=m68k ;;
86 m88*) gdb_host_cpu=m88k ;;
87 np1) gdb_host_cpu=gould ;;
88 pyramid) gdb_host_cpu=pyr ;;
89 powerpc*) gdb_host_cpu=powerpc ;;
90 *) gdb_host_cpu=$host_cpu ;;
91
92 esac
93
94 # map host info into gdb names.
95
96 case "${host}" in
97
98 a29k-*-*) gdb_host=ultra3 ;;
99
100 alpha-*-osf1*) gdb_host=alpha-osf1 ;;
101 alpha-*-osf2*) gdb_host=alpha-osf2 ;;
102 alpha-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
103
104 arm-*-*) gdb_host=arm ;;
105
106 c[12]-*-*) gdb_host=convex ;;
107
108 hppa*-*-bsd*) gdb_host=hppabsd ;;
109 hppa*-*-hiux*) gdb_host=hppahpux ;;
110 hppa*-*-hpux*) gdb_host=hppahpux ;;
111 hppa*-*-osf*) gdb_host=hppaosf ;;
112
113 i[345]86-ncr-*) gdb_host=ncr3000 ;;
114 i[345]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
115 i[345]86-sequent-sysv4*) gdb_host=ptx4 ;;
116 i[345]86-sequent-sysv*) gdb_host=ptx ;;
117 i[345]86-*-aix*) gdb_host=i386aix ;;
118 i[345]86-*-bsd*) gdb_host=i386bsd ;;
119 i[345]86-*-freebsd*) gdb_host=fbsd ;;
120 i[345]86-*-netbsd*) gdb_host=nbsd ;;
121 i[345]86-*-go32*) gdb_host=go32 ;;
122 i[345]86-*-linux*) gdb_host=linux ;;
123 i[345]86-*-lynxos*) gdb_host=i386lynx ;;
124 i[345]86-*-mach3*) gdb_host=i386m3 ;;
125 i[345]86-*-mach*) gdb_host=i386mach ;;
126 i[345]86-*-osf1mk*) gdb_host=osf1mk ;;
127 i[345]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
128 i[345]86-*-sco*) gdb_host=i386sco ;;
129 i[345]86-*-solaris*) gdb_host=i386sol2 ;;
130 i[345]86-*-sunos*) gdb_host=sun386 ;;
131 i[345]86-*-sysv3.2*) gdb_host=i386v32 ;;
132 i[345]86-*-sysv32*) gdb_host=i386v32 ;;
133 i[345]86-*-sysv4*) gdb_host=i386v4 ;;
134 i[345]86-*-unixware) gdb_host=i386v4 ;;
135 i[345]86-*-sysv*) gdb_host=i386v ;;
136 i[345]86-*-isc*) gdb_host=i386v32 ;;
137 i[345]86-*-os9k) gdb_host=i386os9k ;;
138
139 m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
140 m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
141 m68030-sony-*) gdb_host=news1000 ;;
142
143 m68*-altos-*) gdb_host=altos ;;
144 m68*-apollo*-sysv*) gdb_host=apollo68v ;;
145 m68*-apollo*-bsd*) gdb_host=apollo68b ;;
146 m68*-att-*) gdb_host=3b1 ;;
147 m68*-bull*-sysv*) gdb_host=dpx2 ;;
148 m68*-hp-bsd*) gdb_host=hp300bsd ;;
149 m68*-hp-hpux*) gdb_host=hp300hpux ;;
150 m68*-isi-*) gdb_host=isi ;;
151 m68*-*-lynxos*) gdb_host=m68klynx ;;
152 m68*-*-sysv4*) gdb_host=m68kv4 ;;
153 m68*-motorola-*) gdb_host=delta68 ;;
154 m68*-sony-*) gdb_host=news ;;
155 m68*-sun-sunos3*) gdb_host=sun3os3 ;;
156 m68*-sun-sunos4*) gdb_host=sun3os4 ;;
157 m68*-sun-*) gdb_host=sun3os4 ;;
158
159 m88*-harris-cxux*) gdb_host=cxux ;;
160 m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
161 m88*-motorola-sysv*) gdb_host=delta88 ;;
162 m88*-*-mach3*) gdb_host=mach3 ;;
163 m88*-*-*) gdb_host=m88k ;;
164
165 mips-dec-mach3*) gdb_host=mach3 ;;
166 mips-dec-*) gdb_host=decstation ;;
167 mips-little-*) gdb_host=littlemips ;;
168 mips-sgi-irix3*) gdb_host=irix3 ;;
169 mips-sgi-irix4*) gdb_host=irix4 ;;
170 mips-sgi-irix5*) gdb_host=irix5 ;;
171 mips-sony-*) gdb_host=news-mips ;;
172 mips-*-mach3*) gdb_host=mach3 ;;
173 mips-*-sysv4*) gdb_host=mipsv4 ;;
174 mips-*-sysv*) gdb_host=riscos ;;
175 mips-*-riscos*) gdb_host=riscos ;;
176
177 none-*-*) gdb_host=none ;;
178
179 np1-*-*) gdb_host=np1 ;;
180
181 ns32k-*-mach3*) gdb_host=mach3 ;;
182 ns32k-*-netbsd*) gdb_host=nbsd ;;
183 ns32k-umax-*) gdb_host=umax ;;
184 ns32k-utek-sysv*) gdb_host=merlin ;;
185
186 powerpc-*-aix*) gdb_host=aix ;;
187
188 pn-*-*) gdb_host=pn ;;
189
190 pyramid-*-*) gdb_host=pyramid ;;
191
192 romp-*-*) gdb_host=rtbsd ;;
193
194 rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
195 rs6000-*-*) gdb_host=rs6000 ;;
196
197 sparc-*-lynxos*) gdb_host=sparclynx ;;
198 sparc-*-netbsd*) gdb_host=nbsd ;;
199 sparc-*-solaris2*) gdb_host=sun4sol2 ;;
200 sparc-*-sunos4*) gdb_host=sun4os4 ;;
201 sparc-*-sunos5*) gdb_host=sun4sol2 ;;
202 sparc-*-*) gdb_host=sun4os4 ;;
203
204 tahoe-*-*) gdb_host=tahoe ;;
205
206 vax-*-bsd*) gdb_host=vaxbsd ;;
207 vax-*-ultrix2*) gdb_host=vaxult2 ;;
208 vax-*-ultrix*) gdb_host=vaxult ;;
209
210 w65-*-*) gdb_host=w65 ;;
211
212 esac
213
214
215 # Map target cpu into the config cpu subdirectory name.
216 # The default is $target_cpu.
217
218 case "${target_cpu}" in
219
220 alpha) gdb_target_cpu=alpha ;;
221 c[12]) gdb_target_cpu=convex ;;
222 hppa*) gdb_target_cpu=pa ;;
223 i[345]86) gdb_target_cpu=i386 ;;
224 m68*) gdb_target_cpu=m68k ;;
225 m88*) gdb_target_cpu=m88k ;;
226 mips*) gdb_target_cpu=mips ;;
227 np1) gdb_target_cpu=gould ;;
228 powerpc*) gdb_target_cpu=powerpc ;;
229 pn) gdb_target_cpu=gould ;;
230 pyramid) gdb_target_cpu=pyr ;;
231 sparc*) gdb_target_cpu=sparc ;;
232 *) gdb_target_cpu=$target_cpu ;;
233
234 esac
235
236 # map target info into gdb names.
237
238 case "${target}" in
239
240 a29k-*-aout*) gdb_target=a29k ;;
241 a29k-*-coff*) gdb_target=a29k ;;
242 a29k-*-elf*) gdb_target=a29k ;;
243 a29k-*-ebmon*) gdb_target=a29k ;;
244 a29k-*-kern*) gdb_target=a29k-kern ;;
245 a29k-*-none*) gdb_target=a29k ;;
246 a29k-*-sym1*) gdb_target=ultra3 ;;
247 a29k-*-udi*) gdb_target=a29k-udi ;;
248 a29k-*-vxworks*) gdb_target=vx29k ;;
249
250 alpha-*-osf*) gdb_target=alpha-osf1 ;;
251
252 # start-sanitize-arc
253 arc-*-*) gdb_target=arc ;;
254 # end-sanitize-arc
255
256 arm-*-*) gdb_target=arm ;;
257
258 c1-*-*) gdb_target=convex ;;
259 c2-*-*) gdb_target=convex ;;
260
261 h8300-*-*) gdb_target=h8300 ;;
262 h8500-*-*) gdb_target=h8500 ;;
263
264 sh-*-*) gdb_target=sh ;;
265
266 # start-sanitize-r16
267 r16-*-*) gdb_target=r16 ;;
268 # end-sanitize-r16
269
270 hppa*-*-bsd*) gdb_target=hppabsd ;;
271 hppa*-*-pro*) gdb_target=hppapro ;;
272 hppa*-*-hpux*) gdb_target=hppahpux ;;
273 hppa*-*-hiux*) gdb_target=hppahpux ;;
274 hppa*-*-osf*) gdb_target=hppaosf ;;
275
276 i[345]86-sequent-bsd*) gdb_target=symmetry ;;
277 i[345]86-sequent-sysv4*) gdb_target=ptx4 ;;
278 i[345]86-sequent-sysv*) gdb_target=ptx ;;
279 i[345]86-ncr-*) gdb_target=ncr3000 ;;
280 i[345]86-*-aout*) gdb_target=i386aout ;;
281 i[345]86-*-coff*) gdb_target=i386v ;;
282 i[345]86-*-elf*) gdb_target=i386v ;;
283 i[345]86-*-aix*) gdb_target=i386aix ;;
284 i[345]86-*-bsd*) gdb_target=i386bsd ;;
285 i[345]86-*-freebsd*) gdb_target=fbsd ;;
286 i[345]86-*-netbsd*) gdb_target=nbsd ;;
287 i[345]86-*-os9k) gdb_target=i386os9k ;;
288 i[345]86-*-go32*) gdb_target=i386aout ;;
289 i[345]86-*-lynxos*) gdb_target=i386lynx
290 configdirs="${configdirs} gdbserver" ;;
291 i[345]86-*-solaris*) gdb_target=i386sol2 ;;
292 i[345]86-*-sunos*) gdb_target=sun386 ;;
293 i[345]86-*-sysv4*) gdb_target=i386v4 ;;
294 i[345]86-*-sco*) gdb_target=i386v ;;
295 i[345]86-*-sysv*) gdb_target=i386v ;;
296 i[345]86-*-linux*) gdb_target=linux ;;
297 i[345]86-*-isc*) gdb_target=i386v ;;
298 i[345]86-*-mach3*) gdb_target=i386m3 ;;
299 i[345]86-*-mach*) gdb_target=i386mach ;;
300 i[345]86-*-netware*) gdb_target=i386nw
301 configdirs="${configdirs} nlm" ;;
302 i[345]86-*-osf1mk*) gdb_target=i386mk ;;
303
304 i960-*-bout*) gdb_target=vxworks960 ;;
305 i960-*-coff*) gdb_target=nindy960 ;;
306 i960-*-elf*) gdb_target=nindy960 ;;
307
308 i960-*-nindy*) gdb_target=nindy960 ;;
309 i960-*-vxworks*) gdb_target=vxworks960 ;;
310
311 m68000-*-sunos3*) gdb_target=sun2os3 ;;
312 m68000-*-sunos4*) gdb_target=sun2os4 ;;
313
314 m68*-apollo*-bsd*) gdb_target=apollo68b ;;
315 m68*-bull-sysv*) gdb_target=dpx2 ;;
316 m68*-hp-bsd*) gdb_target=hp300bsd ;;
317 m68*-hp-hpux*) gdb_target=hp300hpux ;;
318 m68*-altos-*) gdb_target=altos ;;
319 m68*-att-*) gdb_target=3b1 ;;
320 m68*-cisco*-*) gdb_target=cisco ;;
321 m68*-ericsson-*) gdb_target=es1800 ;;
322 m68*-isi-*) gdb_target=isi ;;
323 m68*-motorola-*) gdb_target=delta68 ;;
324 m68*-netx-*) gdb_target=vxworks68 ;;
325 m68*-sony-*) gdb_target=news ;;
326 m68*-tandem-*) gdb_target=st2000 ;;
327 m68*-rom68k-*) gdb_target=monitor ;;
328 m68*-*bug-*) gdb_target=monitor ;;
329 m68*-monitor-*) gdb_target=monitor ;;
330 m68*-est-*) gdb_target=monitor ;;
331 m68*-*-aout*) gdb_target=monitor ;;
332 m68*-*-coff*) gdb_target=monitor ;;
333 m68*-*-elf*) gdb_target=monitor ;;
334 m68*-*-lynxos*) gdb_target=m68klynx
335 configdirs="${configdirs} gdbserver" ;;
336 m68*-*-os68k*) gdb_target=os68k ;;
337 m68*-*-sunos3*) gdb_target=sun3os3 ;;
338 m68*-*-sunos4*) gdb_target=sun3os4 ;;
339 m68*-*-sysv4*) gdb_target=m68kv4 ;;
340 m68*-*-vxworks*) gdb_target=vxworks68 ;;
341
342 m88*-harris-cxux*) gdb_target=cxux ;;
343 m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
344 m88*-*-mach3*) gdb_target=mach3 ;;
345 m88*-motorola-*) gdb_target=delta88 ;;
346 m88*-*-*) gdb_target=m88k ;;
347
348 mips64*-big-*) gdb_target=bigmips64 ;;
349 mips*-big-*) gdb_target=bigmips ;;
350 mips*-dec-mach3*) gdb_target=mach3 ;;
351 mips*-dec-*) gdb_target=decstation ;;
352 mips64*el-*-ecoff*) gdb_target=idtl64 ;;
353 mips64*-idt-ecoff*) gdb_target=idt64 ;;
354 mips64*el-*-elf*) gdb_target=idtl64 ;;
355 mips64*-*-elf*) gdb_target=idt64 ;;
356 mips*el-*-ecoff*) gdb_target=idtl ;;
357 mips*-*-ecoff*) gdb_target=idt ;;
358 mips*el-*-elf*) gdb_target=idtl ;;
359 mips*-*-elf*) gdb_target=idt ;;
360 mips*-little-*) gdb_target=littlemips ;;
361 mips*-sgi-irix5*) gdb_target=irix5 ;;
362 mips*-sgi-*) gdb_target=irix3 ;;
363 mips*-sony-*) gdb_target=bigmips ;;
364 mips*-*-mach3*) gdb_target=mach3 ;;
365 mips*-*-sysv4*) gdb_target=mipsv4 ;;
366 mips*-*-sysv*) gdb_target=bigmips ;;
367 mips*-*-riscos*) gdb_target=bigmips ;;
368
369 none-*-*) gdb_target=none ;;
370
371 np1-*-*) gdb_target=np1 ;;
372
373 ns32k-*-mach3*) gdb_target=mach3 ;;
374 ns32k-*-netbsd*) gdb_target=nbsd ;;
375 ns32k-utek-sysv*) gdb_target=merlin ;;
376 ns32k-utek-*) gdb_target=umax ;;
377
378 pn-*-*) gdb_target=pn ;;
379 powerpc-*-netware*) gdb_target=ppc-nw
380 configdirs="${configdirs} nlm" ;;
381
382 powerpc-*-aix4*) gdb_target=aix4 ;;
383 powerpc-*-aix*) gdb_target=aix ;;
384 powerpc-*-eabisim*) gdb_target=ppc-sim ;;
385 powerpc-*-eabi*) gdb_target=ppc-eabi ;;
386 powerpcle-*-eabisim*) gdb_target=ppcle-sim ;;
387 powerpcle-*-eabi*) gdb_target=ppcle-eabi ;;
388
389 pyramid-*-*) gdb_target=pyramid ;;
390
391 rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
392 rs6000-*-aix4*) gdb_target=aix4 ;;
393 rs6000-*-*) gdb_target=rs6000 ;;
394
395 sparc-*-aout*) gdb_target=sparc-em ;;
396 sparc-*-coff*) gdb_target=sparc-em ;;
397 sparc-*-elf*) gdb_target=sparc-em ;;
398 sparc-*-lynxos*) gdb_target=sparclynx
399 configdirs="${configdirs} gdbserver" ;;
400 sparc-*-netbsd*) gdb_target=nbsd ;;
401 sparc-*-solaris2*) gdb_target=sun4sol2 ;;
402 sparc-*-sunos4*) gdb_target=sun4os4 ;;
403 sparc-*-sunos5*) gdb_target=sun4sol2 ;;
404 sparc-*-vxworks*) gdb_target=vxsparc ;;
405 sparc-*-*) gdb_target=sun4os4 ;;
406 sparclite*-*-*) gdb_target=sparclite ;;
407 sparc64-*-*) gdb_target=sp64 ;;
408
409 tahoe-*-*) gdb_target=tahoe ;;
410
411 vax-*-*) gdb_target=vax ;;
412
413 w65-*-*) gdb_target=w65 ;;
414
415 z8k-*-coff*) gdb_target=z8k ;;
416
417 esac
418
419 dnl
420 changequote([,])dnl
421
422 frags=
423 host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
424 if test ! -f ${host_makefile_frag}; then
425 AC_MSG_ERROR("*** Gdb does not support host ${host}")
426 fi
427 frags="$frags $host_makefile_frag"
428
429 target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
430 if test ! -f ${target_makefile_frag}; then
431 AC_MSG_ERROR("*** Gdb does not support target ${target}")
432 fi
433 frags="$frags $target_makefile_frag"
434
435 AC_SUBST_FILE(host_makefile_frag)
436 AC_SUBST_FILE(target_makefile_frag)
437 AC_SUBST(frags)
438
439 changequote(,)dnl
440 hostfile=`sed -n '
441 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
442 ' ${host_makefile_frag}`
443
444 targetfile=`sed -n '
445 s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
446 ' ${target_makefile_frag}`
447
448 # these really aren't orthogonal true/false values of the same condition,
449 # but shells are slow enough that I like to reuse the test conditions
450 # whenever possible
451 if test "${target}" = "${host}"; then
452 nativefile=`sed -n '
453 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
454 ' ${host_makefile_frag}`
455 else
456 # GDBserver is only useful in a "native" enviroment
457 configdirs=`echo $configdirs | sed 's/gdbserver//'`
458 fi
459 changequote([,])
460
461 # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
462 # (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the
463 # corresponding links. But we have to remove the xm.h files and tm.h
464 # files anyway, e.g. when switching from "configure host" to
465 # "configure none".
466
467 files=
468 links=
469 rm -f xm.h
470 if test "${hostfile}" != ""; then
471 files="${files} config/${gdb_host_cpu}/${hostfile}"
472 links="${links} xm.h"
473 fi
474 rm -f tm.h
475 if test "${targetfile}" != ""; then
476 files="${files} config/${gdb_target_cpu}/${targetfile}"
477 links="${links} tm.h"
478 fi
479 rm -f nm.h
480 if test "${nativefile}" != ""; then
481 files="${files} config/${gdb_host_cpu}/${nativefile}"
482 links="${links} nm.h"
483 else
484 # A cross-only configuration.
485 files="${files} config/nm-empty.h"
486 links="${links} nm.h"
487 fi
488 # start-sanitize-gdbtk
489
490 # Make it possible to use the GUI without doing a full install
491 if test "${enable_gdbtk}" = "yes" -a ! -f gdbtk.tcl ; then
492 files="${files} gdbtk.tcl"
493 links="${links} gdbtk.tcl"
494 fi
495 # end-sanitize-gdbtk
496
497 AC_LINK_FILES($files, $links)
498
499 AC_CONFIG_SUBDIRS($configdirs)
500 AC_OUTPUT(Makefile,
501 [
502 dnl Autoconf doesn't provide a mechanism for modifying definitions
503 dnl provided by makefile fragments.
504 dnl
505 if test "${nativefile}" = ""; then
506 sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
507 < Makefile > Makefile.tem
508 mv -f Makefile.tem Makefile
509 fi
510
511 changequote(,)dnl
512 sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
513 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
514 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp
515 mv -f Makefile.tmp Makefile
516 changequote([,])dnl
517
518 case ${srcdir} in
519 .)
520 ;;
521 *)
522 grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
523 echo "source ${srcdir}/.gdbinit" >> .gdbinit
524 esac
525 ],
526 [
527 gdb_host_cpu=$gdb_host_cpu
528 gdb_target_cpu=$gdb_target_cpu
529 nativefile=$nativefile
530 ])
531
532 exit 0
This page took 0.040271 seconds and 5 git commands to generate.