1993-05-26 22:23:56 +00:00
|
|
|
configdirs="doc testsuite"
|
1991-05-19 00:16:46 +00:00
|
|
|
srcname="GDB"
|
|
|
|
srctrigger=main.c
|
1991-12-07 08:03:27 +00:00
|
|
|
|
1991-04-15 23:46:50 +00:00
|
|
|
# per-host:
|
|
|
|
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
# Map host cpu into the config cpu subdirectory name.
|
|
|
|
# The default is $host_cpu.
|
|
|
|
|
|
|
|
case "${host_cpu}" in
|
|
|
|
|
|
|
|
c[12]) gdb_host_cpu=convex ;;
|
|
|
|
hppa*) gdb_host_cpu=pa ;;
|
|
|
|
i[34]86) gdb_host_cpu=i386 ;;
|
|
|
|
m68*) gdb_host_cpu=m68k ;;
|
|
|
|
np1) gdb_host_cpu=gould ;;
|
|
|
|
pyramid) gdb_host_cpu=pyr ;;
|
|
|
|
*) gdb_host_cpu=$host_cpu ;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
1991-08-22 07:07:58 +00:00
|
|
|
# map host info into gdb names.
|
|
|
|
|
1992-08-27 04:15:42 +00:00
|
|
|
case "${host}" in
|
1991-08-22 07:07:58 +00:00
|
|
|
|
1992-08-27 04:15:42 +00:00
|
|
|
a29k-*-*) gdb_host=ultra3 ;;
|
|
|
|
|
1993-06-17 22:16:07 +00:00
|
|
|
alpha-*-osf*) gdb_host=alpha-osf1 ;;
|
|
|
|
|
1992-08-27 04:15:42 +00:00
|
|
|
arm-*-*) gdb_host=arm ;;
|
|
|
|
|
|
|
|
c[12]-*-*) gdb_host=convex ;;
|
|
|
|
|
1993-10-05 17:51:13 +00:00
|
|
|
hppa*-*-bsd*) gdb_host=hppabsd ;;
|
|
|
|
hppa*-*-hpux*) gdb_host=hppahpux ;;
|
|
|
|
hppa*-*-hiux*) gdb_host=hppahpux ;;
|
1994-02-24 16:10:15 +00:00
|
|
|
hppa*-*-osf*) gdb_host=hppabsd ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
|
|
|
i[34]86-ncr-*) gdb_host=ncr3000 ;;
|
1993-07-19 05:00:13 +00:00
|
|
|
i[34]86-sequent-bsd*) gdb_host=symmetry ;; #dynix
|
* config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.
* symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior):
Supply alternate version if ATTACH_DETACH is not defined.
* ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,
tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
* configure.in: Recognize i[34]86-sequent-sysv4* host.
1994-03-26 00:19:35 +00:00
|
|
|
i[34]86-sequent-sysv4*) gdb_host=ptx4 ;;
|
1993-07-19 05:00:13 +00:00
|
|
|
i[34]86-sequent-sysv*) gdb_host=ptx ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
1993-06-21 23:46:49 +00:00
|
|
|
i[34]86-*-aix*) gdb_host=i386aix ;;
|
1992-10-09 11:48:24 +00:00
|
|
|
i[34]86-*-bsd*) gdb_host=i386bsd ;;
|
1993-08-23 19:46:03 +00:00
|
|
|
i[34]86-*-netbsd*) gdb_host=i386bsd ;;
|
1993-10-22 13:49:08 +00:00
|
|
|
i[34]86-*-go32*) gdb_host=go32 ;;
|
|
|
|
i[34]86-*-linux*) gdb_host=linux ;;
|
1993-10-30 00:16:25 +00:00
|
|
|
i[34]86-*-lynxos*) gdb_host=i386lynx ;;
|
1993-10-15 04:26:06 +00:00
|
|
|
# Obsolete I suspect
|
|
|
|
# i[34]86-*-mach) gdb_host=i386mach ;;
|
|
|
|
i[34]86-*-mach*) gdb_host=i386m3 ;;
|
|
|
|
i[34]86-*-osf1mk*) gdb_host=i386mk ;;
|
1992-12-15 18:12:37 +00:00
|
|
|
i[34]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
|
1992-11-03 00:18:02 +00:00
|
|
|
i[34]86-*-sco*) gdb_host=i386sco ;;
|
1992-10-06 09:27:57 +00:00
|
|
|
i[34]86-*-solaris*) gdb_host=i386sol2 ;;
|
1992-08-28 02:00:26 +00:00
|
|
|
i[34]86-*-sunos*) gdb_host=sun386 ;;
|
1993-10-22 13:49:08 +00:00
|
|
|
i[34]86-*-sysv3.2*) gdb_host=i386v32 ;;
|
1994-03-04 01:38:57 +00:00
|
|
|
i[34]86-*-sysv32*) gdb_host=i386v32 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
i[34]86-*-sysv4*) gdb_host=i386v4 ;;
|
1993-11-08 14:27:46 +00:00
|
|
|
i[34]86-*-unixware) gdb_host=i386v4 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
i[34]86-*-sysv*) gdb_host=i386v ;;
|
1993-05-21 22:17:31 +00:00
|
|
|
i[34]86-*-isc*) gdb_host=i386v32 ;;
|
1994-03-01 23:13:56 +00:00
|
|
|
i[34]86-*-os9k) gdb_host=i386os9k ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
1992-10-13 08:28:45 +00:00
|
|
|
m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
|
|
|
|
m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
m68030-sony-*) gdb_host=news1000 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-altos-*) gdb_host=altos ;;
|
|
|
|
m68*-apollo*-sysv*) gdb_host=apollo68v ;;
|
|
|
|
m68*-apollo*-bsd*) gdb_host=apollo68b ;;
|
|
|
|
m68*-att-*) gdb_host=3b1 ;;
|
1993-07-11 23:29:31 +00:00
|
|
|
m68*-bull*-sysv*) gdb_host=dpx2 ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-cbm-sysv4*) gdb_host=amix ;;
|
1993-05-10 00:15:12 +00:00
|
|
|
m68*-hp-bsd*) gdb_host=hp300bsd ;;
|
|
|
|
m68*-hp-hpux*) gdb_host=hp300hpux ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-isi-*) gdb_host=isi ;;
|
1993-10-30 00:16:25 +00:00
|
|
|
m68*-*-lynxos*) gdb_host=m68klynx ;;
|
1993-07-02 19:18:14 +00:00
|
|
|
m68*-motorola-*) gdb_host=delta68 ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-sony-*) gdb_host=news ;;
|
|
|
|
m68*-sun-sunos3*) gdb_host=sun3os3 ;;
|
|
|
|
m68*-sun-sunos4*) gdb_host=sun3os4 ;;
|
|
|
|
m68*-sun-*) gdb_host=sun3os4 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
1993-08-23 21:14:31 +00:00
|
|
|
m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
|
|
|
|
m88*-motorola-sysv*) gdb_host=delta88 ;;
|
|
|
|
# I suspect this is just used for DGUX
|
|
|
|
m88*-*-*) gdb_host=m88k ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
|
|
|
mips-dec-*) gdb_host=decstation ;;
|
|
|
|
mips-little-*) gdb_host=littlemips ;;
|
1993-10-22 13:49:08 +00:00
|
|
|
mips-sgi-irix3*) gdb_host=irix3 ;;
|
1993-03-06 01:19:48 +00:00
|
|
|
mips-sgi-irix4*) gdb_host=irix4 ;;
|
1993-12-06 17:31:05 +00:00
|
|
|
mips-sgi-irix5*) gdb_host=irix5 ;;
|
1993-06-18 21:39:27 +00:00
|
|
|
mips-sony-*) gdb_host=news-mips ;;
|
1993-06-18 22:20:26 +00:00
|
|
|
mips-*-sysv*) gdb_host=riscos ;;
|
1993-07-02 21:27:13 +00:00
|
|
|
mips-*-riscos*) gdb_host=riscos ;;
|
1993-10-15 04:26:06 +00:00
|
|
|
mips-*-mach*) gdb_host=mipsm3 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
|
|
|
none-*-*) gdb_host=none ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1992-08-27 04:15:42 +00:00
|
|
|
np1-*-*) gdb_host=np1 ;;
|
|
|
|
|
|
|
|
ns32k-umax-*) gdb_host=umax ;;
|
1993-10-22 13:49:08 +00:00
|
|
|
ns32k-utek-sysv*) gdb_host=merlin ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
|
|
|
pn-*-*) gdb_host=pn ;;
|
|
|
|
|
|
|
|
pyramid-*-*) gdb_host=pyramid ;;
|
|
|
|
|
|
|
|
romp-*-*) gdb_host=rtbsd ;;
|
|
|
|
|
1994-02-12 01:08:29 +00:00
|
|
|
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
rs6000-*-*) gdb_host=rs6000 ;;
|
|
|
|
|
1993-10-30 00:16:25 +00:00
|
|
|
sparc-*-lynxos*) gdb_host=sparclynx ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
sparc-*-solaris2*) gdb_host=sun4sol2 ;;
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
sparc-*-sunos4*) gdb_host=sun4os4 ;;
|
* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.
* serial.h (EXFUN): Remove all uses, convert to PARAMS.
* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
should include a ser-XXX.o module.
* dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap.
* defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const.
* configure.in: Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}: Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
1992-09-02 08:51:17 +00:00
|
|
|
sparc-*-*) gdb_host=sun4os4 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
|
|
|
|
tahoe-*-*) gdb_host=tahoe ;;
|
|
|
|
|
|
|
|
vax-*-bsd*) gdb_host=vaxbsd ;;
|
1993-03-03 06:04:26 +00:00
|
|
|
vax-*-ultrix2*) gdb_host=vaxult2 ;;
|
1992-08-27 04:15:42 +00:00
|
|
|
vax-*-ultrix*) gdb_host=vaxult ;;
|
* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c,
hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h,
tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge.
1992-06-19 22:43:49 +00:00
|
|
|
|
1991-08-22 07:07:58 +00:00
|
|
|
esac
|
|
|
|
|
1991-11-08 02:20:29 +00:00
|
|
|
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
if [ ! -f ${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh ]; then
|
1991-08-22 07:07:58 +00:00
|
|
|
echo '***' "Gdb does not support host ${host}" 1>&2
|
1991-05-19 00:16:46 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
1991-07-04 15:59:47 +00:00
|
|
|
# We really shouldn't depend on there being a space after XM_FILE= ...
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
hostfile=`awk '$1 == "XM_FILE=" { print $2 }' <${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh`
|
1991-05-19 00:16:46 +00:00
|
|
|
|
1991-04-15 23:46:50 +00:00
|
|
|
# per-target:
|
1991-05-19 00:16:46 +00:00
|
|
|
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
# Map target cpu into the config cpu subdirectory name.
|
|
|
|
# The default is $target_cpu.
|
|
|
|
|
|
|
|
case "${target_cpu}" in
|
|
|
|
|
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in: Add new files and dependencies.
* configure.in: Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
1993-10-05 19:44:57 +00:00
|
|
|
alpha) gdb_target_cpu=alpha ;;
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
c[12]) gdb_target_cpu=convex ;;
|
|
|
|
hppa*) gdb_target_cpu=pa ;;
|
|
|
|
i[34]86) gdb_target_cpu=i386 ;;
|
|
|
|
m68*) gdb_target_cpu=m68k ;;
|
1993-08-31 00:52:48 +00:00
|
|
|
m8*) gdb_target_cpu=m88k ;;
|
1993-12-06 18:34:07 +00:00
|
|
|
mips*) gdb_target_cpu=mips ;;
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
np1) gdb_target_cpu=gould ;;
|
|
|
|
pn) gdb_target_cpu=gould ;;
|
|
|
|
pyramid) gdb_target_cpu=pyr ;;
|
1993-05-26 20:55:47 +00:00
|
|
|
sparclite) gdb_target_cpu=sparc
|
|
|
|
configdirs="${configdirs} sparclite"
|
|
|
|
;;
|
1993-04-06 17:40:55 +00:00
|
|
|
sparc*) gdb_target_cpu=sparc ;;
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
*) gdb_target_cpu=$target_cpu ;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
# map target info into gdb names.
|
|
|
|
|
1992-08-28 04:58:27 +00:00
|
|
|
case "${target}" in
|
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
a29k-*-aout*) gdb_target=a29k ;;
|
|
|
|
a29k-*-coff*) gdb_target=a29k ;;
|
|
|
|
a29k-*-elf*) gdb_target=a29k ;;
|
|
|
|
a29k-*-ebmon*) gdb_target=a29k ;;
|
|
|
|
a29k-*-kern*) gdb_target=a29k-kern ;;
|
|
|
|
a29k-*-none*) gdb_target=a29k ;;
|
|
|
|
a29k-*-sym1*) gdb_target=ultra3 ;;
|
|
|
|
a29k-*-udi*) gdb_target=a29k-udi ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in: Add new files and dependencies.
* configure.in: Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
1993-10-05 19:44:57 +00:00
|
|
|
alpha-*-osf*) gdb_target=alpha-osf1 ;;
|
1994-01-11 04:12:20 +00:00
|
|
|
alpha-*-netware*) gdb_target=alpha-nw ;;
|
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in: Add new files and dependencies.
* configure.in: Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES): Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS): Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h: Cleanup, get MAKEVA_* defines right.
* defs.h (CORE_ADDR): Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete): Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol): Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type): Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume): Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.
* inferior.h (CALL_DUMMY_LOCATION): New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func): Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy): Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address): New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand): Handle AT_ENTRY_POINT case.
1993-10-05 19:44:57 +00:00
|
|
|
|
1992-08-28 04:58:27 +00:00
|
|
|
arm-*-*) gdb_target=arm ;;
|
|
|
|
|
|
|
|
c1-*-*) gdb_target=convex ;;
|
|
|
|
c2-*-*) gdb_target=convex ;;
|
|
|
|
|
|
|
|
h8300-*-*) gdb_target=h8300hms ;;
|
1993-03-19 23:05:34 +00:00
|
|
|
h8500-*-*) gdb_target=h8500hms ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1993-04-27 01:17:32 +00:00
|
|
|
sh-*-*) gdb_target=sh ;;
|
|
|
|
|
1993-05-10 00:15:12 +00:00
|
|
|
hppa*-*-bsd*) gdb_target=hppabsd ;;
|
|
|
|
hppa*-*-hpux*) gdb_target=hppahpux ;;
|
1993-11-04 14:52:53 +00:00
|
|
|
hppa*-*-hiux*) gdb_target=hppahpux ;;
|
1994-02-24 16:10:15 +00:00
|
|
|
hppa*-*-osf*) gdb_target=hppaosf ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
* config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o.
* symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior):
Supply alternate version if ATTACH_DETACH is not defined.
* ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt,
tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files.
* configure.in: Recognize i[34]86-sequent-sysv4* host.
1994-03-26 00:19:35 +00:00
|
|
|
i[34]86-sequent-bsd*) gdb_target=symmetry ;;
|
|
|
|
i[34]86-sequent-sysv4*) gdb_target=ptx4 ;;
|
|
|
|
i[34]86-sequent-sysv*) gdb_target=ptx ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
i[34]86-ncr-*) gdb_target=ncr3000 ;;
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
i[34]86-*-aout*) gdb_target=i386aout ;;
|
|
|
|
i[34]86-*-coff*) gdb_target=i386v ;;
|
|
|
|
i[34]86-*-elf*) gdb_target=i386v ;;
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
|
1993-06-21 23:46:49 +00:00
|
|
|
i[34]86-*-aix*) gdb_target=i386aix ;;
|
1992-10-09 11:48:24 +00:00
|
|
|
i[34]86-*-bsd*) gdb_target=i386bsd ;;
|
1993-08-23 19:46:03 +00:00
|
|
|
i[34]86-*-netbsd*) gdb_target=i386bsd ;;
|
1994-03-01 23:13:56 +00:00
|
|
|
i[34]86-*-os9k) gdb_target=i386os9k ;;
|
1993-10-22 13:49:08 +00:00
|
|
|
i[34]86-*-go32*) gdb_target=i386aout ;;
|
1993-10-30 00:16:25 +00:00
|
|
|
i[34]86-*-lynxos*) gdb_target=i386lynx
|
1993-10-13 01:08:40 +00:00
|
|
|
configdirs="${configdirs} gdbserver"
|
1993-05-26 20:55:47 +00:00
|
|
|
;;
|
1992-10-06 09:27:57 +00:00
|
|
|
i[34]86-*-solaris*) gdb_target=i386sol2 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
i[34]86-*-sunos*) gdb_target=sun386 ;;
|
|
|
|
i[34]86-*-sysv4*) gdb_target=i386v4 ;;
|
1992-11-03 00:18:02 +00:00
|
|
|
i[34]86-*-sco*) gdb_target=i386v ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
i[34]86-*-sysv*) gdb_target=i386v ;;
|
1993-05-21 22:17:31 +00:00
|
|
|
i[34]86-*-linux*) gdb_target=linux ;;
|
|
|
|
i[34]86-*-isc*) gdb_target=i386v ;;
|
1993-10-15 04:26:06 +00:00
|
|
|
i[34]86-*-mach*) gdb_target=i386m3 ;;
|
1993-07-20 04:53:03 +00:00
|
|
|
i[34]86-*-netware*) gdb_target=i386nw ;;
|
1993-10-15 04:26:06 +00:00
|
|
|
i[34]86-*-osf1mk*) gdb_target=i386mk ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
i960-*-bout*) gdb_target=vxworks960 ;;
|
|
|
|
i960-*-coff*) gdb_target=nindy960 ;;
|
|
|
|
i960-*-elf*) gdb_target=nindy960 ;;
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
i960-*-nindy*) gdb_target=nindy960 ;;
|
|
|
|
i960-*-vxworks*) gdb_target=vxworks960 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
m68000-*-sunos3*) gdb_target=sun2os3 ;;
|
|
|
|
m68000-*-sunos4*) gdb_target=sun2os4 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-cbm-sysv4*) gdb_target=amix ;;
|
1993-07-11 23:29:31 +00:00
|
|
|
m68*-bull-sysv*) gdb_target=dpx2 ;;
|
1993-05-10 00:15:12 +00:00
|
|
|
m68*-hp-bsd*) gdb_target=hp300bsd ;;
|
|
|
|
m68*-hp-hpux*) gdb_target=hp300hpux ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
|
|
|
|
m68*-altos-*) gdb_target=altos ;;
|
1993-10-22 16:03:08 +00:00
|
|
|
m68*-apollo*-bsd*) gdb_target=apollo68b ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-att-*) gdb_target=3b1 ;;
|
1994-03-19 19:53:31 +00:00
|
|
|
m68*-cisco*-*) gdb_target=cisco ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-ericsson-*) gdb_target=es1800 ;;
|
|
|
|
m68*-isi-*) gdb_target=isi ;;
|
1993-07-02 19:18:14 +00:00
|
|
|
m68*-motorola-*) gdb_target=delta68 ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-netx-*) gdb_target=vxworks68 ;;
|
|
|
|
m68*-sony-*) gdb_target=news ;;
|
|
|
|
m68*-tandem-*) gdb_target=st2000 ;;
|
|
|
|
|
1993-06-02 00:15:39 +00:00
|
|
|
m68*-rom68k-*) gdb_target=monitor ;;
|
|
|
|
m68*-*bug-*) gdb_target=monitor ;;
|
|
|
|
m68*-monitor-*) gdb_target=monitor ;;
|
|
|
|
|
1994-01-28 18:58:54 +00:00
|
|
|
m68*-*-aout*) gdb_target=monitor ;;
|
|
|
|
m68*-*-coff*) gdb_target=monitor ;;
|
|
|
|
m68*-*-elf*) gdb_target=monitor ;;
|
1993-10-30 00:16:25 +00:00
|
|
|
m68*-*-lynxos*) gdb_target=m68klynx
|
|
|
|
configdirs="${configdirs} gdbserver"
|
|
|
|
;;
|
1993-10-22 13:49:08 +00:00
|
|
|
m68*-*-os68k*) gdb_target=os68k ;;
|
1992-10-13 08:28:45 +00:00
|
|
|
m68*-*-sunos3*) gdb_target=sun3os3 ;;
|
|
|
|
m68*-*-sunos4*) gdb_target=sun3os4 ;;
|
|
|
|
m68*-*-vxworks*) gdb_target=vxworks68 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1993-09-02 06:20:20 +00:00
|
|
|
m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
|
1993-08-23 21:14:31 +00:00
|
|
|
m88*-motorola-*) gdb_target=delta88 ;;
|
|
|
|
m88*-*-*) gdb_target=m88k ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
1994-02-18 01:38:08 +00:00
|
|
|
mips64*-big-*) gdb_target=bigmips64 ;;
|
1993-12-06 18:34:07 +00:00
|
|
|
mips*-big-*) gdb_target=bigmips ;;
|
|
|
|
mips*-dec-*) gdb_target=decstation ;;
|
1994-02-18 01:38:08 +00:00
|
|
|
mips64*el-*-ecoff*) gdb_target=idtl64 ;;
|
|
|
|
mips64*-idt-ecoff*) gdb_target=idt64 ;;
|
|
|
|
mips64*el-*-elf*) gdb_target=idtl64 ;;
|
|
|
|
mips64*-*-elf*) gdb_target=idt64 ;;
|
1993-12-06 18:34:07 +00:00
|
|
|
mips*el-*-ecoff*) gdb_target=idtl ;;
|
|
|
|
mips*-idt-ecoff*) gdb_target=idt ;;
|
|
|
|
mips*el-*-elf*) gdb_target=idtl ;;
|
|
|
|
mips*-*-elf*) gdb_target=idt ;;
|
|
|
|
mips*-little-*) gdb_target=littlemips ;;
|
|
|
|
mips*-sgi-irix5*) gdb_target=irix5 ;;
|
|
|
|
mips*-sgi-*) gdb_target=irix3 ;;
|
|
|
|
mips*-sony-*) gdb_target=bigmips ;;
|
|
|
|
mips*-*-sysv*) gdb_target=bigmips ;;
|
|
|
|
mips*-*-riscos*) gdb_target=bigmips ;;
|
|
|
|
mips*-*-mach*) gdb_target=mipsm3 ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
|
|
|
|
none-*-*) gdb_target=none ;;
|
|
|
|
|
|
|
|
np1-*-*) gdb_target=np1 ;;
|
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
ns32k-utek-sysv*) gdb_target=merlin ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
ns32k-utek-*) gdb_target=umax ;;
|
|
|
|
|
|
|
|
pn-*-*) gdb_target=pn ;;
|
|
|
|
|
|
|
|
pyramid-*-*) gdb_target=pyramid ;;
|
|
|
|
|
1994-02-12 01:08:29 +00:00
|
|
|
rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
|
1992-08-28 04:58:27 +00:00
|
|
|
rs6000-*-*) gdb_target=rs6000 ;;
|
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
sparc-*-aout*) gdb_target=sparc-em ;;
|
|
|
|
sparc-*-coff*) gdb_target=sparc-em ;;
|
|
|
|
sparc-*-elf*) gdb_target=sparc-em ;;
|
1993-10-30 00:16:25 +00:00
|
|
|
sparc-*-lynxos*) gdb_target=sparclynx
|
|
|
|
configdirs="${configdirs} gdbserver"
|
|
|
|
;;
|
1992-08-28 04:58:27 +00:00
|
|
|
sparc-*-solaris2*) gdb_target=sun4sol2 ;;
|
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3): Remove host & target. Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files.
* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New
target definitions for embedded with and without underlines on
identifiers. FIXME -- this ought to be known by BFD instead.
* tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
1992-09-02 08:03:42 +00:00
|
|
|
sparc-*-sunos4*) gdb_target=sun4os4 ;;
|
1993-06-08 23:05:20 +00:00
|
|
|
sparc-*-vxworks*) gdb_target=vxsparc ;;
|
* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.
* serial.h (EXFUN): Remove all uses, convert to PARAMS.
* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
should include a ser-XXX.o module.
* dbxread.c (elfstab_build_psymtabs): Remove DEFUN crap.
* defs.h, i960-pinsn.c, remote-hms.c: Replace CONST with simple const.
* configure.in: Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}: Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}: Remove (use identical sun4os4.*).
1992-09-02 08:51:17 +00:00
|
|
|
sparc-*-*) gdb_target=sun4os4 ;;
|
1993-04-06 17:40:55 +00:00
|
|
|
sparclite*-*-*) gdb_target=sparclite ;;
|
1993-07-14 16:49:18 +00:00
|
|
|
# start-sanitize-v9
|
|
|
|
sparc64-*-*) gdb_target_cpu=sparc gdb_target=sp64 ;;
|
|
|
|
# end-sanitize-v9
|
1992-08-28 04:58:27 +00:00
|
|
|
|
|
|
|
tahoe-*-*) gdb_target=tahoe ;;
|
|
|
|
vax-*-*) gdb_target=vax ;;
|
1991-08-22 07:07:58 +00:00
|
|
|
|
1993-10-22 13:49:08 +00:00
|
|
|
z8k-*-sim*) gdb_target=z8ksim ;;
|
|
|
|
z8k-*-coff*) gdb_target=z8ksim ;;
|
1991-08-22 07:07:58 +00:00
|
|
|
esac
|
|
|
|
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
if [ ! -f ${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt ]; then
|
1991-08-22 07:07:58 +00:00
|
|
|
echo '***' "Gdb does not support target ${target}" 1>&2
|
1991-05-19 00:16:46 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z "${removing}" ] ; then
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
cat ${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh ${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt | awk '$1 == "#msg" {
|
1991-05-19 00:16:46 +00:00
|
|
|
print substr($0,6)}'
|
|
|
|
fi
|
|
|
|
|
1991-07-04 15:59:47 +00:00
|
|
|
# We really shouldn't depend on there being a space after TM_FILE= ...
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
targetfile=`awk '$1 == "TM_FILE=" { print $2 }' <${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt`
|
1991-05-19 00:16:46 +00:00
|
|
|
|
1993-10-13 01:08:40 +00:00
|
|
|
|
|
|
|
# these really aren't orthogonal true/false values of the same condition,
|
|
|
|
# but shells are slow enough that I like to reuse the test conditions
|
|
|
|
# whenever possible
|
|
|
|
#
|
1992-09-19 11:09:01 +00:00
|
|
|
if [ "${target}" = "${host}" ] ; then
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
nativefile=`awk '$1 == "NAT_FILE=" { print $2 }' <${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh`
|
1993-10-13 01:08:40 +00:00
|
|
|
else
|
|
|
|
# GDBserver is only useful in a "native" enviroment
|
|
|
|
configdirs=`echo $configdirs | sed 's/gdbserver//'`
|
1992-09-19 11:09:01 +00:00
|
|
|
fi
|
|
|
|
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
host_makefile_frag=config/${gdb_host_cpu}/${gdb_host}.mh
|
|
|
|
target_makefile_frag=config/${gdb_target_cpu}/${gdb_target}.mt
|
1991-05-19 00:16:46 +00:00
|
|
|
|
1992-09-19 11:09:01 +00:00
|
|
|
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
|
|
|
# (NAT_FILE) is not set in the ?config/* file, we don't make the
|
|
|
|
# corresponding links. But we have to remove the xm.h files and tm.h
|
|
|
|
# files anyway, e.g. when switching from "configure host" to
|
|
|
|
# "configure none".
|
|
|
|
|
1991-07-04 15:59:47 +00:00
|
|
|
files=
|
|
|
|
links=
|
1991-07-31 00:34:07 +00:00
|
|
|
rm -f xm.h
|
1991-07-04 15:59:47 +00:00
|
|
|
if [ "${hostfile}" != "" ]; then
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
if [ -f ${srcdir}/config/${hostfile} ]; then
|
|
|
|
files="${files} config/${hostfile}"
|
|
|
|
else
|
|
|
|
files="${files} config/${gdb_host_cpu}/${hostfile}"
|
|
|
|
fi
|
1991-07-04 15:59:47 +00:00
|
|
|
links="${links} xm.h"
|
|
|
|
fi
|
1991-07-31 00:34:07 +00:00
|
|
|
rm -f tm.h
|
1991-07-04 15:59:47 +00:00
|
|
|
if [ "${targetfile}" != "" ]; then
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
if [ -f ${srcdir}/config/${targetfile} ]; then
|
|
|
|
files="${files} config/${targetfile}"
|
|
|
|
else
|
|
|
|
files="${files} config/${gdb_target_cpu}/${targetfile}"
|
|
|
|
fi
|
1991-07-04 15:59:47 +00:00
|
|
|
links="${links} tm.h"
|
|
|
|
fi
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
rm -f nm.h
|
1992-09-19 11:09:01 +00:00
|
|
|
if [ "${nativefile}" != "" ]; then
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
if [ -f ${srcdir}/config/${nativefile} ]; then
|
|
|
|
files="${files} config/${nativefile}"
|
|
|
|
else
|
|
|
|
files="${files} config/${gdb_host_cpu}/${nativefile}"
|
|
|
|
fi
|
1992-09-30 22:39:02 +00:00
|
|
|
links="${links} nm.h"
|
1992-09-30 02:03:24 +00:00
|
|
|
# temporary scaffolding until all hosts have the host/target/native
|
|
|
|
# split in place.
|
|
|
|
else
|
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}: New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}: All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*: All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS): Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak): Modify to account for new config
directory structure.
* alldeps.mak, depend: Update for new config directory structure.
* config/*/[ntx]m-*.h: Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config. I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h): Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h): Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h): Include i860/tm-i860.h.
* configure.in: Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name. Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
|
|
|
files="${files} config/nm-trash.h"
|
1992-09-30 22:39:02 +00:00
|
|
|
links="${links} nm.h"
|
1992-09-19 11:09:01 +00:00
|
|
|
fi
|
1991-07-04 15:59:47 +00:00
|
|
|
|
|
|
|
# post-target:
|
1991-05-19 00:16:46 +00:00
|
|
|
|
1991-07-04 15:59:47 +00:00
|
|
|
case ${srcdir} in
|
|
|
|
.)
|
|
|
|
;;
|
|
|
|
*)
|
1993-07-02 21:27:13 +00:00
|
|
|
grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
|
1991-07-04 15:59:47 +00:00
|
|
|
echo "source ${srcdir}/.gdbinit" >> .gdbinit
|
|
|
|
esac
|
|
|
|
|
1992-09-21 20:01:00 +00:00
|
|
|
if [ "${nativefile}" = "" ] ; then
|
1992-09-21 19:47:39 +00:00
|
|
|
sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
|
1992-09-19 11:09:01 +00:00
|
|
|
< Makefile > Makefile.tem
|
|
|
|
mv -f Makefile.tem Makefile
|
|
|
|
fi
|
* Makefile.in (TAGS): Use variables directly, rather than using
find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster
and means that these filenames no longer need be unique across all
the config/* directories.
* configure.in: Put the config/*/ into TM_FILE, etc.
* m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk
and trapv exceptions.
* target.h (struct section_table), objfiles.h (struct obj_section):
Change name of field sec_ptr to the_bfd_section. More mnemonic
and avoids the (sort of, for the ptx compiler) name clash with
the name of the typedef.
* exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c,
solib.c, irix5-nat.c, objfiles.c, remote.c: Change users.
* utils.c: Include readline.h.
* Makefile.in (utils.o): Add dependency.
* remote.c (getpkt): Add support for run-length encoding.
1994-03-19 18:49:50 +00:00
|
|
|
|
|
|
|
sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
|
|
|
|
/^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
|
|
|
|
/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp
|
|
|
|
mv -f Makefile.tmp Makefile
|