* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.3)dnl
|
|
|
|
AC_INIT(main.c)
|
|
|
|
|
|
|
|
CC=${CC-cc}
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_AIX
|
|
|
|
AC_MINIX
|
|
|
|
AC_ISC_POSIX
|
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_RANLIB
|
1995-10-11 04:19:37 +08:00
|
|
|
AC_PROG_YACC
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
|
|
|
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-02 04:14:27 +08:00
|
|
|
AC_HEADER_STDC
|
1995-09-29 08:14:01 +08:00
|
|
|
AC_CHECK_HEADERS(memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h)
|
* configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.
* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.
* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.
* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.
* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-02 04:14:27 +08:00
|
|
|
AC_HEADER_STAT
|
|
|
|
|
|
|
|
AC_FUNC_MMAP
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
|
|
|
dnl Handle optional features that can be enabled.
|
|
|
|
ENABLE_CFLAGS=
|
|
|
|
ENABLE_CLIBS=
|
|
|
|
ENABLE_OBS=
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(netrom,
|
|
|
|
[ --enable-netrom ],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) enable_netrom=yes ;;
|
|
|
|
no) enable_netrom=no ;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${enableval} given for netrom option) ;;
|
|
|
|
esac])
|
|
|
|
|
|
|
|
if test "${enable_netrom}" = "yes"; then
|
|
|
|
ENABLE_OBS="${ENABLE_OBS} remote-nrom.o"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# start-sanitize-gdbtk
|
|
|
|
ENABLE_GDBTK=
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(gdbtk,
|
|
|
|
[ --enable-gdbtk ],
|
|
|
|
[case "${enableval}" in
|
|
|
|
yes) enable_gdbtk=yes ;;
|
|
|
|
no) enable_gdbtk=no ;;
|
|
|
|
*) AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
|
|
|
|
esac])
|
|
|
|
|
|
|
|
if test "${enable_gdbtk}" = "yes"; then
|
|
|
|
AC_PATH_X
|
|
|
|
AC_PATH_XTRA
|
|
|
|
|
|
|
|
CYGNUS_PATH_TK
|
|
|
|
CYGNUS_PATH_TCL
|
|
|
|
|
|
|
|
ENABLE_GDBTK=1
|
1995-10-01 00:38:16 +08:00
|
|
|
|
|
|
|
if test "x$x_includes" != "x" ;
|
|
|
|
then
|
|
|
|
X_INCDIR="-I$x_includes"
|
|
|
|
else
|
|
|
|
X_INCDIR=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "x$x_libraries" != "x" ;
|
|
|
|
then
|
|
|
|
X_LIBDIR="-L$x_libraries"
|
|
|
|
else
|
|
|
|
X_LIBDIR=""
|
|
|
|
fi
|
|
|
|
|
1995-07-30 09:15:54 +08:00
|
|
|
TCL_LIBS='$(TCL) $(TK) $(X11)'
|
|
|
|
ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS} -lm"
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
|
|
|
|
fi
|
|
|
|
AC_SUBST(ENABLE_GDBTK)
|
1995-10-01 00:38:16 +08:00
|
|
|
AC_SUBST(X_INCDIR)
|
|
|
|
AC_SUBST(X_LIBDIR)
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# end-sanitize-gdbtk
|
|
|
|
|
|
|
|
AC_SUBST(ENABLE_CFLAGS)
|
|
|
|
AC_SUBST(ENABLE_CLIBS)
|
|
|
|
AC_SUBST(ENABLE_OBS)
|
1994-06-17 06:02:24 +08:00
|
|
|
|
1991-12-07 16:03:27 +08:00
|
|
|
|
1994-06-17 06:02:24 +08:00
|
|
|
configdirs="doc testsuite"
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
dnl
|
|
|
|
changequote(,)dnl
|
1991-04-16 08:46:50 +09: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 09:01:49 +08: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 ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86) gdb_host_cpu=i386 ;;
|
* 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 09:01:49 +08:00
|
|
|
m68*) gdb_host_cpu=m68k ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
m88*) gdb_host_cpu=m88k ;;
|
* 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 09:01:49 +08:00
|
|
|
np1) gdb_host_cpu=gould ;;
|
|
|
|
pyramid) gdb_host_cpu=pyr ;;
|
1995-05-10 05:07:06 +08:00
|
|
|
powerpc*) gdb_host_cpu=powerpc ;;
|
* 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 09:01:49 +08:00
|
|
|
*) gdb_host_cpu=$host_cpu ;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
1991-08-22 16:07:58 +09:00
|
|
|
# map host info into gdb names.
|
|
|
|
|
1992-08-27 12:15:42 +08:00
|
|
|
case "${host}" in
|
1991-08-22 16:07:58 +09:00
|
|
|
|
1992-08-27 12:15:42 +08:00
|
|
|
a29k-*-*) gdb_host=ultra3 ;;
|
|
|
|
|
* README: Add note about SPARCworks cc release 3.0 and higher.
Add procfs support for Alpha OSF/1-2.x.
* config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic
OSF/1 native support.
* config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly.
(MUNCH_DEFINE): Removed.
* config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files
for procfs support.
* configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1
release 2.x and higher, else alpha-osf1.mh, as the procfs support
in release 1.x is incomplete.
* Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh.
* alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset,
fill_fpgregset): New routines for procfs support.
* inftarg.c (_initialize_inftarg): Don't add ptrace support
if we have an optional procfs and /proc is accessible.
* procfs.c: Include sys/fault.h and sys/syscall.h before
including sys/procfs.h.
(unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL
is defined, additionally perform a PIOCSSIG to really terminate
the inferior.
(create_procinfo): Always return a result.
(create_procinfo, do_attach): Don't trace T_IFAULT faults if
PROCFS_DONT_TRACE_IFAULT is defined.
(procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as
argument to startup_inferior if it is defined.
(proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead
of tracing exits from exec system calls. Needed for the user level
loader under Alpha OSF/1.
(do_detach): Clear any pending signal if we want to detach from
a process without a signal.
(set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined,
don't issue a PIOCSSIG if pr_cursig already contains the signal we
intend to set.
(info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the
pending signals are numbered from 1 instead of 0.
(info_proc_mappings): Increase size of output format for addresses
if BFD_HOST_64_BIT is defined.
(procfs_stop): Renamed from child_stop.
(_initialize_procfs): Don't add procfs support if we have an
optional procfs and /proc is not accessible.
1995-01-13 02:12:04 +08:00
|
|
|
alpha-*-osf1*) gdb_host=alpha-osf1 ;;
|
1995-07-15 16:57:59 +08:00
|
|
|
alpha-*-osf2*) gdb_host=alpha-osf2 ;;
|
|
|
|
alpha-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
|
1993-06-18 06:16:07 +08:00
|
|
|
|
1992-08-27 12:15:42 +08:00
|
|
|
arm-*-*) gdb_host=arm ;;
|
|
|
|
|
|
|
|
c[12]-*-*) gdb_host=convex ;;
|
|
|
|
|
1993-10-06 01:51:13 +08:00
|
|
|
hppa*-*-bsd*) gdb_host=hppabsd ;;
|
|
|
|
hppa*-*-hiux*) gdb_host=hppahpux ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
hppa*-*-hpux*) gdb_host=hppahpux ;;
|
1995-05-12 09:10:28 +08:00
|
|
|
hppa*-*-osf*) gdb_host=hppaosf ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-ncr-*) gdb_host=ncr3000 ;;
|
|
|
|
i[345]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
|
|
|
|
i[345]86-sequent-sysv4*) gdb_host=ptx4 ;;
|
|
|
|
i[345]86-sequent-sysv*) gdb_host=ptx ;;
|
|
|
|
i[345]86-*-aix*) gdb_host=i386aix ;;
|
|
|
|
i[345]86-*-bsd*) gdb_host=i386bsd ;;
|
1994-11-30 05:47:48 +08:00
|
|
|
i[345]86-*-freebsd*) gdb_host=fbsd ;;
|
1994-09-03 08:45:30 +08:00
|
|
|
i[345]86-*-netbsd*) gdb_host=nbsd ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-*-go32*) gdb_host=go32 ;;
|
|
|
|
i[345]86-*-linux*) gdb_host=linux ;;
|
|
|
|
i[345]86-*-lynxos*) gdb_host=i386lynx ;;
|
|
|
|
i[345]86-*-mach3*) gdb_host=i386m3 ;;
|
|
|
|
i[345]86-*-mach*) gdb_host=i386mach ;;
|
|
|
|
i[345]86-*-osf1mk*) gdb_host=osf1mk ;;
|
|
|
|
i[345]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
|
|
|
|
i[345]86-*-sco*) gdb_host=i386sco ;;
|
|
|
|
i[345]86-*-solaris*) gdb_host=i386sol2 ;;
|
|
|
|
i[345]86-*-sunos*) gdb_host=sun386 ;;
|
|
|
|
i[345]86-*-sysv3.2*) gdb_host=i386v32 ;;
|
|
|
|
i[345]86-*-sysv32*) gdb_host=i386v32 ;;
|
|
|
|
i[345]86-*-sysv4*) gdb_host=i386v4 ;;
|
|
|
|
i[345]86-*-unixware) gdb_host=i386v4 ;;
|
|
|
|
i[345]86-*-sysv*) gdb_host=i386v ;;
|
|
|
|
i[345]86-*-isc*) gdb_host=i386v32 ;;
|
|
|
|
i[345]86-*-os9k) gdb_host=i386os9k ;;
|
1995-10-10 05:54:26 +08:00
|
|
|
i[345]86-*-win32*) gdb_host=win32 ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
|
|
|
|
m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
m68030-sony-*) gdb_host=news1000 ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
1992-10-13 16:28:45 +08: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-12 07:29:31 +08:00
|
|
|
m68*-bull*-sysv*) gdb_host=dpx2 ;;
|
1993-05-10 08:15:12 +08:00
|
|
|
m68*-hp-bsd*) gdb_host=hp300bsd ;;
|
|
|
|
m68*-hp-hpux*) gdb_host=hp300hpux ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m68*-isi-*) gdb_host=isi ;;
|
1993-10-30 08:16:25 +08:00
|
|
|
m68*-*-lynxos*) gdb_host=m68klynx ;;
|
1994-07-18 05:08:42 +08:00
|
|
|
m68*-*-sysv4*) gdb_host=m68kv4 ;;
|
1993-07-03 03:18:14 +08:00
|
|
|
m68*-motorola-*) gdb_host=delta68 ;;
|
1992-10-13 16:28:45 +08: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 12:15:42 +08:00
|
|
|
|
1994-07-18 05:08:42 +08:00
|
|
|
m88*-harris-cxux*) gdb_host=cxux ;;
|
1993-08-24 05:14:31 +08:00
|
|
|
m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
|
|
|
|
m88*-motorola-sysv*) gdb_host=delta88 ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
m88*-*-mach3*) gdb_host=mach3 ;;
|
1993-08-24 05:14:31 +08:00
|
|
|
m88*-*-*) gdb_host=m88k ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
1994-06-17 06:02:24 +08:00
|
|
|
mips-dec-mach3*) gdb_host=mach3 ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
mips-dec-*) gdb_host=decstation ;;
|
|
|
|
mips-little-*) gdb_host=littlemips ;;
|
1993-10-22 21:49:08 +08:00
|
|
|
mips-sgi-irix3*) gdb_host=irix3 ;;
|
1993-03-06 09:19:48 +08:00
|
|
|
mips-sgi-irix4*) gdb_host=irix4 ;;
|
1993-12-07 01:31:05 +08:00
|
|
|
mips-sgi-irix5*) gdb_host=irix5 ;;
|
1993-06-19 05:39:27 +08:00
|
|
|
mips-sony-*) gdb_host=news-mips ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
mips-*-mach3*) gdb_host=mach3 ;;
|
* infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines
are in the .plt section.
* minsyms.c (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): New functions for handling
stepping into -g compiled shared libraries.
* symtab.h (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): Add prototypes.
* config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
Define to handle stepping into -g compiled shared libraries.
* config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle
stepping into -g compiled shared libraries.
* configure.in: Add mips-*-sysv4* support.
* config/mips/mipsv4.mh, config/mips/mipsv4.mt,
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
New files for MIPS SVR4 support.
* Makefile.in: Update for new mipsv4 files.
* alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use
read_next_frame_reg to obtain the frame relative stack pointer.
* mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to
obtain the frame relative stack pointer.
* mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
by entering them into the minimal symbol table.
* printcmd.c (print_scalar_formatted): Do not try to unpack to
a long for float formats.
* solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
get defined in <link.h>.
* solib.c (solib_add): Add shared library sections to the section
table of the target before adding the symbols.
* partial-stab.h: Relocate static and global functions.
* dbxread.c (read_dbx_symtab): Remove unused variable
end_of_text_address. Relocate text_addr when passing it
to end_psymtab.
For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* mipsread.c (read_alphacoff_dynamic_symtab): New function.
* mipsread.c (mipscoff_symfile_read): Use it. Issue warning message
if no debugging symbols were found.
* alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered
pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
is defined.
* config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,
OSF/1 has shared libraries.
1994-04-08 08:35:15 +08:00
|
|
|
mips-*-sysv4*) gdb_host=mipsv4 ;;
|
1993-06-19 06:20:26 +08:00
|
|
|
mips-*-sysv*) gdb_host=riscos ;;
|
1993-07-03 05:27:13 +08:00
|
|
|
mips-*-riscos*) gdb_host=riscos ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
|
|
|
none-*-*) gdb_host=none ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1992-08-27 12:15:42 +08:00
|
|
|
np1-*-*) gdb_host=np1 ;;
|
|
|
|
|
1994-06-17 06:02:24 +08:00
|
|
|
ns32k-*-mach3*) gdb_host=mach3 ;;
|
* solib.c: *BSD systems need <a.out.h> to be included before
<link.h>.
* i386b-nat.c: Add i386_float_info(), etc.
* config/i386/nm-nbsd.h: #define FLOAT_INFO.
* config/nm-nbsd.h: New file, for generic NetBSD native support.
* config/i386/nm-nbsd.h: Use it.
* config/sparc/nm-nbsd.h: Use it.
* config/ns32k/nm-nbsd.h: Use it.
* configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht].
(ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht].
* config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
New files, support for NetBSD/i386.
* config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
New files, support for NetBSD/ns32k.
1994-09-24 06:30:31 +08:00
|
|
|
ns32k-*-netbsd*) gdb_host=nbsd ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
ns32k-umax-*) gdb_host=umax ;;
|
1993-10-22 21:49:08 +08:00
|
|
|
ns32k-utek-sysv*) gdb_host=merlin ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
1995-08-10 02:53:41 +08:00
|
|
|
powerpc-*-aix*) gdb_host=aix ;;
|
|
|
|
|
1992-08-27 12:15:42 +08:00
|
|
|
pn-*-*) gdb_host=pn ;;
|
|
|
|
|
|
|
|
pyramid-*-*) gdb_host=pyramid ;;
|
|
|
|
|
|
|
|
romp-*-*) gdb_host=rtbsd ;;
|
|
|
|
|
1994-02-12 09:08:29 +08:00
|
|
|
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
rs6000-*-*) gdb_host=rs6000 ;;
|
|
|
|
|
1993-10-30 08:16:25 +08:00
|
|
|
sparc-*-lynxos*) gdb_host=sparclynx ;;
|
1994-09-02 02:17:25 +08:00
|
|
|
sparc-*-netbsd*) gdb_host=nbsd ;;
|
1992-08-28 12:58:27 +08: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 16:03:42 +08:00
|
|
|
sparc-*-sunos4*) gdb_host=sun4os4 ;;
|
1995-03-30 11:09:35 +08:00
|
|
|
sparc-*-sunos5*) gdb_host=sun4sol2 ;;
|
* 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 16:51:17 +08:00
|
|
|
sparc-*-*) gdb_host=sun4os4 ;;
|
1992-08-27 12:15:42 +08:00
|
|
|
|
|
|
|
tahoe-*-*) gdb_host=tahoe ;;
|
|
|
|
|
|
|
|
vax-*-bsd*) gdb_host=vaxbsd ;;
|
1993-03-03 14:04:26 +08:00
|
|
|
vax-*-ultrix2*) gdb_host=vaxult2 ;;
|
1992-08-27 12:15:42 +08: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-20 06:43:49 +08:00
|
|
|
|
1995-01-16 09:45:49 +08:00
|
|
|
w65-*-*) gdb_host=w65 ;;
|
|
|
|
|
1991-08-22 16:07:58 +09:00
|
|
|
esac
|
|
|
|
|
1991-11-08 10:20:29 +08: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 09:01:49 +08: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-06 03:44:57 +08: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 09:01:49 +08:00
|
|
|
c[12]) gdb_target_cpu=convex ;;
|
|
|
|
hppa*) gdb_target_cpu=pa ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86) gdb_target_cpu=i386 ;;
|
* 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 09:01:49 +08:00
|
|
|
m68*) gdb_target_cpu=m68k ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
m88*) gdb_target_cpu=m88k ;;
|
1993-12-07 02:34:07 +08: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 09:01:49 +08:00
|
|
|
np1) gdb_target_cpu=gould ;;
|
1995-05-10 05:07:06 +08:00
|
|
|
powerpc*) gdb_target_cpu=powerpc ;;
|
* 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 09:01:49 +08:00
|
|
|
pn) gdb_target_cpu=gould ;;
|
|
|
|
pyramid) gdb_target_cpu=pyr ;;
|
1993-04-07 01:40:55 +08: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 09:01:49 +08:00
|
|
|
*) gdb_target_cpu=$target_cpu ;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
# map target info into gdb names.
|
|
|
|
|
1992-08-28 12:58:27 +08:00
|
|
|
case "${target}" in
|
|
|
|
|
1993-10-22 21:49:08 +08: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 ;;
|
1995-01-17 07:56:41 +08:00
|
|
|
a29k-*-vxworks*) gdb_target=vx29k ;;
|
1992-08-28 12:58:27 +08: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-06 03:44:57 +08:00
|
|
|
alpha-*-osf*) gdb_target=alpha-osf1 ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
|
1995-01-25 11:27:54 +08:00
|
|
|
# start-sanitize-arc
|
1995-01-17 07:56:41 +08:00
|
|
|
arc-*-*) gdb_target=arc ;;
|
1995-01-25 11:27:54 +08:00
|
|
|
# end-sanitize-arc
|
|
|
|
|
1992-08-28 12:58:27 +08:00
|
|
|
arm-*-*) gdb_target=arm ;;
|
|
|
|
|
|
|
|
c1-*-*) gdb_target=convex ;;
|
|
|
|
c2-*-*) gdb_target=convex ;;
|
|
|
|
|
* config/h8300/h8300.mt: Renamed from h8300hms.mt.
* config/h8500/h8500.mt: Renamed from h8500hms.mt.
* config/z8k/z8k.mt: Renamed from z8ksim.mt.
* configure, configure.in: Update to reflect renamings.
* remote-sim.c (sim): New command, passes commands to simulator.
(simulator_command): New function.
(gdbsim_ops): Clean up.
* remote-sim.h (sim_do_command): Declare.
* sh-tdep.c (memory_size): Remove command.
* Makefile.in (SIM, SIM_OBS): New variables.
(CLIBS, CDEPS): Add value of SIM.
(DEPFILES): Add value of SIM_OBS
* config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
define in SIM_OBS and SIM.
config/sparc/sp64sim.mt (SIMFILES): Remove.
* remote-z8k.c: Remove, was superseded by remote-sim.c
* Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1995-07-01 08:22:57 +08:00
|
|
|
h8300-*-*) gdb_target=h8300 ;;
|
|
|
|
h8500-*-*) gdb_target=h8500 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1993-04-27 09:17:32 +08:00
|
|
|
sh-*-*) gdb_target=sh ;;
|
|
|
|
|
1994-11-25 08:01:26 +08:00
|
|
|
# start-sanitize-r16
|
|
|
|
r16-*-*) gdb_target=r16 ;;
|
|
|
|
# end-sanitize-r16
|
|
|
|
|
1993-05-10 08:15:12 +08:00
|
|
|
hppa*-*-bsd*) gdb_target=hppabsd ;;
|
1994-09-10 06:44:13 +08:00
|
|
|
hppa*-*-pro*) gdb_target=hppapro ;;
|
1993-05-10 08:15:12 +08:00
|
|
|
hppa*-*-hpux*) gdb_target=hppahpux ;;
|
1993-11-04 22:52:53 +08:00
|
|
|
hppa*-*-hiux*) gdb_target=hppahpux ;;
|
1994-02-25 00:10:15 +08:00
|
|
|
hppa*-*-osf*) gdb_target=hppaosf ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-sequent-bsd*) gdb_target=symmetry ;;
|
|
|
|
i[345]86-sequent-sysv4*) gdb_target=ptx4 ;;
|
|
|
|
i[345]86-sequent-sysv*) gdb_target=ptx ;;
|
|
|
|
i[345]86-ncr-*) gdb_target=ncr3000 ;;
|
|
|
|
i[345]86-*-aout*) gdb_target=i386aout ;;
|
|
|
|
i[345]86-*-coff*) gdb_target=i386v ;;
|
|
|
|
i[345]86-*-elf*) gdb_target=i386v ;;
|
|
|
|
i[345]86-*-aix*) gdb_target=i386aix ;;
|
|
|
|
i[345]86-*-bsd*) gdb_target=i386bsd ;;
|
1994-11-30 05:47:48 +08:00
|
|
|
i[345]86-*-freebsd*) gdb_target=fbsd ;;
|
1994-09-03 08:45:30 +08:00
|
|
|
i[345]86-*-netbsd*) gdb_target=nbsd ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-*-os9k) gdb_target=i386os9k ;;
|
|
|
|
i[345]86-*-go32*) gdb_target=i386aout ;;
|
|
|
|
i[345]86-*-lynxos*) gdb_target=i386lynx
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
configdirs="${configdirs} gdbserver" ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-*-solaris*) gdb_target=i386sol2 ;;
|
|
|
|
i[345]86-*-sunos*) gdb_target=sun386 ;;
|
|
|
|
i[345]86-*-sysv4*) gdb_target=i386v4 ;;
|
|
|
|
i[345]86-*-sco*) gdb_target=i386v ;;
|
|
|
|
i[345]86-*-sysv*) gdb_target=i386v ;;
|
|
|
|
i[345]86-*-linux*) gdb_target=linux ;;
|
|
|
|
i[345]86-*-isc*) gdb_target=i386v ;;
|
|
|
|
i[345]86-*-mach3*) gdb_target=i386m3 ;;
|
|
|
|
i[345]86-*-mach*) gdb_target=i386mach ;;
|
|
|
|
i[345]86-*-netware*) gdb_target=i386nw
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
configdirs="${configdirs} nlm" ;;
|
1994-08-25 01:12:57 +08:00
|
|
|
i[345]86-*-osf1mk*) gdb_target=i386mk ;;
|
1995-10-10 05:54:26 +08:00
|
|
|
i[345]86-*-win32) gdb_target=win32 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1993-10-22 21:49:08 +08: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 16:03:42 +08:00
|
|
|
|
1993-10-22 21:49:08 +08:00
|
|
|
i960-*-nindy*) gdb_target=nindy960 ;;
|
|
|
|
i960-*-vxworks*) gdb_target=vxworks960 ;;
|
1992-08-28 12:58:27 +08: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 16:03:42 +08:00
|
|
|
m68000-*-sunos3*) gdb_target=sun2os3 ;;
|
|
|
|
m68000-*-sunos4*) gdb_target=sun2os4 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1993-10-23 00:03:08 +08:00
|
|
|
m68*-apollo*-bsd*) gdb_target=apollo68b ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
m68*-bull-sysv*) gdb_target=dpx2 ;;
|
|
|
|
m68*-hp-bsd*) gdb_target=hp300bsd ;;
|
|
|
|
m68*-hp-hpux*) gdb_target=hp300hpux ;;
|
1994-07-18 05:08:42 +08:00
|
|
|
m68*-altos-*) gdb_target=altos ;;
|
|
|
|
m68*-att-*) gdb_target=3b1 ;;
|
|
|
|
m68*-cisco*-*) gdb_target=cisco ;;
|
|
|
|
m68*-ericsson-*) gdb_target=es1800 ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m68*-isi-*) gdb_target=isi ;;
|
1993-07-03 03:18:14 +08:00
|
|
|
m68*-motorola-*) gdb_target=delta68 ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m68*-netx-*) gdb_target=vxworks68 ;;
|
|
|
|
m68*-sony-*) gdb_target=news ;;
|
|
|
|
m68*-tandem-*) gdb_target=st2000 ;;
|
1993-06-02 08:15:39 +08:00
|
|
|
m68*-rom68k-*) gdb_target=monitor ;;
|
|
|
|
m68*-*bug-*) gdb_target=monitor ;;
|
|
|
|
m68*-monitor-*) gdb_target=monitor ;;
|
1995-08-03 09:07:32 +08:00
|
|
|
m68*-est-*) gdb_target=monitor ;;
|
1994-01-29 02:58:54 +08:00
|
|
|
m68*-*-aout*) gdb_target=monitor ;;
|
|
|
|
m68*-*-coff*) gdb_target=monitor ;;
|
|
|
|
m68*-*-elf*) gdb_target=monitor ;;
|
1993-10-30 08:16:25 +08:00
|
|
|
m68*-*-lynxos*) gdb_target=m68klynx
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
configdirs="${configdirs} gdbserver" ;;
|
1993-10-22 21:49:08 +08:00
|
|
|
m68*-*-os68k*) gdb_target=os68k ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m68*-*-sunos3*) gdb_target=sun3os3 ;;
|
|
|
|
m68*-*-sunos4*) gdb_target=sun3os4 ;;
|
1994-07-18 05:08:42 +08:00
|
|
|
m68*-*-sysv4*) gdb_target=m68kv4 ;;
|
1992-10-13 16:28:45 +08:00
|
|
|
m68*-*-vxworks*) gdb_target=vxworks68 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1994-07-18 05:08:42 +08:00
|
|
|
m88*-harris-cxux*) gdb_target=cxux ;;
|
1993-09-02 14:20:20 +08:00
|
|
|
m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
m88*-*-mach3*) gdb_target=mach3 ;;
|
1993-08-24 05:14:31 +08:00
|
|
|
m88*-motorola-*) gdb_target=delta88 ;;
|
|
|
|
m88*-*-*) gdb_target=m88k ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1994-02-18 09:38:08 +08:00
|
|
|
mips64*-big-*) gdb_target=bigmips64 ;;
|
1993-12-07 02:34:07 +08:00
|
|
|
mips*-big-*) gdb_target=bigmips ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
mips*-dec-mach3*) gdb_target=mach3 ;;
|
1993-12-07 02:34:07 +08:00
|
|
|
mips*-dec-*) gdb_target=decstation ;;
|
1994-02-18 09:38:08 +08: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-07 02:34:07 +08:00
|
|
|
mips*el-*-ecoff*) gdb_target=idtl ;;
|
1994-12-30 09:39:24 +08:00
|
|
|
mips*-*-ecoff*) gdb_target=idt ;;
|
1993-12-07 02:34:07 +08:00
|
|
|
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 ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
mips*-*-mach3*) gdb_target=mach3 ;;
|
* infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines
are in the .plt section.
* minsyms.c (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): New functions for handling
stepping into -g compiled shared libraries.
* symtab.h (lookup_solib_trampoline_symbol_by_pc,
find_solib_trampoline_target): Add prototypes.
* config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
Define to handle stepping into -g compiled shared libraries.
* config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle
stepping into -g compiled shared libraries.
* configure.in: Add mips-*-sysv4* support.
* config/mips/mipsv4.mh, config/mips/mipsv4.mt,
config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
New files for MIPS SVR4 support.
* Makefile.in: Update for new mipsv4 files.
* alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use
read_next_frame_reg to obtain the frame relative stack pointer.
* mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to
obtain the frame relative stack pointer.
* mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
by entering them into the minimal symbol table.
* printcmd.c (print_scalar_formatted): Do not try to unpack to
a long for float formats.
* solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
get defined in <link.h>.
* solib.c (solib_add): Add shared library sections to the section
table of the target before adding the symbols.
* partial-stab.h: Relocate static and global functions.
* dbxread.c (read_dbx_symtab): Remove unused variable
end_of_text_address. Relocate text_addr when passing it
to end_psymtab.
For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* mipsread.c (read_alphacoff_dynamic_symtab): New function.
* mipsread.c (mipscoff_symfile_read): Use it. Issue warning message
if no debugging symbols were found.
* alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered
pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
is defined.
* config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define,
OSF/1 has shared libraries.
1994-04-08 08:35:15 +08:00
|
|
|
mips*-*-sysv4*) gdb_target=mipsv4 ;;
|
1993-12-07 02:34:07 +08:00
|
|
|
mips*-*-sysv*) gdb_target=bigmips ;;
|
|
|
|
mips*-*-riscos*) gdb_target=bigmips ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
|
|
|
none-*-*) gdb_target=none ;;
|
|
|
|
|
|
|
|
np1-*-*) gdb_target=np1 ;;
|
|
|
|
|
1994-06-17 06:02:24 +08:00
|
|
|
ns32k-*-mach3*) gdb_target=mach3 ;;
|
* solib.c: *BSD systems need <a.out.h> to be included before
<link.h>.
* i386b-nat.c: Add i386_float_info(), etc.
* config/i386/nm-nbsd.h: #define FLOAT_INFO.
* config/nm-nbsd.h: New file, for generic NetBSD native support.
* config/i386/nm-nbsd.h: Use it.
* config/sparc/nm-nbsd.h: Use it.
* config/ns32k/nm-nbsd.h: Use it.
* configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht].
(ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht].
* config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
New files, support for NetBSD/i386.
* config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
New files, support for NetBSD/ns32k.
1994-09-24 06:30:31 +08:00
|
|
|
ns32k-*-netbsd*) gdb_target=nbsd ;;
|
1993-10-22 21:49:08 +08:00
|
|
|
ns32k-utek-sysv*) gdb_target=merlin ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
ns32k-utek-*) gdb_target=umax ;;
|
|
|
|
|
|
|
|
pn-*-*) gdb_target=pn ;;
|
1994-08-18 14:32:55 +08:00
|
|
|
powerpc-*-netware*) gdb_target=ppc-nw
|
|
|
|
configdirs="${configdirs} nlm" ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
1995-08-13 06:50:04 +08:00
|
|
|
powerpc-*-aix4*) gdb_target=aix4 ;;
|
1995-08-10 02:53:41 +08:00
|
|
|
powerpc-*-aix*) gdb_target=aix ;;
|
1995-08-26 00:05:32 +08:00
|
|
|
powerpc-*-eabisim*) gdb_target=ppc-sim ;;
|
1995-08-10 02:53:41 +08:00
|
|
|
powerpc-*-eabi*) gdb_target=ppc-eabi ;;
|
1995-08-26 00:05:32 +08:00
|
|
|
powerpcle-*-eabisim*) gdb_target=ppcle-sim ;;
|
1995-08-10 02:53:41 +08:00
|
|
|
powerpcle-*-eabi*) gdb_target=ppcle-eabi ;;
|
1995-05-10 05:07:06 +08:00
|
|
|
|
1992-08-28 12:58:27 +08:00
|
|
|
pyramid-*-*) gdb_target=pyramid ;;
|
|
|
|
|
1994-02-12 09:08:29 +08:00
|
|
|
rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
|
1995-08-13 06:50:04 +08:00
|
|
|
rs6000-*-aix4*) gdb_target=aix4 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
rs6000-*-*) gdb_target=rs6000 ;;
|
|
|
|
|
1993-10-22 21:49:08 +08:00
|
|
|
sparc-*-aout*) gdb_target=sparc-em ;;
|
|
|
|
sparc-*-coff*) gdb_target=sparc-em ;;
|
|
|
|
sparc-*-elf*) gdb_target=sparc-em ;;
|
1993-10-30 08:16:25 +08:00
|
|
|
sparc-*-lynxos*) gdb_target=sparclynx
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
configdirs="${configdirs} gdbserver" ;;
|
1994-09-02 02:17:25 +08:00
|
|
|
sparc-*-netbsd*) gdb_target=nbsd ;;
|
1992-08-28 12:58:27 +08: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 16:03:42 +08:00
|
|
|
sparc-*-sunos4*) gdb_target=sun4os4 ;;
|
1995-03-30 11:09:35 +08:00
|
|
|
sparc-*-sunos5*) gdb_target=sun4sol2 ;;
|
1993-06-09 07:05:20 +08: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 16:51:17 +08:00
|
|
|
sparc-*-*) gdb_target=sun4os4 ;;
|
1993-04-07 01:40:55 +08:00
|
|
|
sparclite*-*-*) gdb_target=sparclite ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
sparc64-*-*) gdb_target=sp64 ;;
|
1992-08-28 12:58:27 +08:00
|
|
|
|
|
|
|
tahoe-*-*) gdb_target=tahoe ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
|
1992-08-28 12:58:27 +08:00
|
|
|
vax-*-*) gdb_target=vax ;;
|
1991-08-22 16:07:58 +09:00
|
|
|
|
1995-01-16 09:45:49 +08:00
|
|
|
w65-*-*) gdb_target=w65 ;;
|
|
|
|
|
* config/h8300/h8300.mt: Renamed from h8300hms.mt.
* config/h8500/h8500.mt: Renamed from h8500hms.mt.
* config/z8k/z8k.mt: Renamed from z8ksim.mt.
* configure, configure.in: Update to reflect renamings.
* remote-sim.c (sim): New command, passes commands to simulator.
(simulator_command): New function.
(gdbsim_ops): Clean up.
* remote-sim.h (sim_do_command): Declare.
* sh-tdep.c (memory_size): Remove command.
* Makefile.in (SIM, SIM_OBS): New variables.
(CLIBS, CDEPS): Add value of SIM.
(DEPFILES): Add value of SIM_OBS
* config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
define in SIM_OBS and SIM.
config/sparc/sp64sim.mt (SIMFILES): Remove.
* remote-z8k.c: Remove, was superseded by remote-sim.c
* Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1995-07-01 08:22:57 +08:00
|
|
|
z8k-*-coff*) gdb_target=z8k ;;
|
1994-06-17 06:02:24 +08:00
|
|
|
|
1991-08-22 16:07:58 +09:00
|
|
|
esac
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
dnl
|
|
|
|
changequote([,])dnl
|
|
|
|
|
1995-07-15 07:28:13 +08:00
|
|
|
frags=
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
|
|
|
|
if test ! -f ${host_makefile_frag}; then
|
|
|
|
AC_MSG_ERROR("*** Gdb does not support host ${host}")
|
1991-05-19 09:16:46 +09:00
|
|
|
fi
|
1995-07-15 07:28:13 +08:00
|
|
|
frags="$frags $host_makefile_frag"
|
1991-05-19 09:16:46 +09:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
|
|
|
|
if test ! -f ${target_makefile_frag}; then
|
|
|
|
AC_MSG_ERROR("*** Gdb does not support target ${target}")
|
1991-05-19 09:16:46 +09:00
|
|
|
fi
|
1995-07-15 07:28:13 +08:00
|
|
|
frags="$frags $target_makefile_frag"
|
1991-05-19 09:16:46 +09:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_SUBST_FILE(host_makefile_frag)
|
|
|
|
AC_SUBST_FILE(target_makefile_frag)
|
1995-07-15 07:28:13 +08:00
|
|
|
AC_SUBST(frags)
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1995-05-28 15:07:21 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
hostfile=`sed -n '
|
|
|
|
s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${host_makefile_frag}`
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
|
1995-05-28 15:07:21 +08:00
|
|
|
targetfile=`sed -n '
|
|
|
|
s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${target_makefile_frag}`
|
1993-10-13 09:08:40 +08: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
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${target}" = "${host}"; then
|
1995-05-28 15:07:21 +08:00
|
|
|
nativefile=`sed -n '
|
|
|
|
s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
|
|
|
|
' ${host_makefile_frag}`
|
1993-10-13 09:08:40 +08:00
|
|
|
else
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# GDBserver is only useful in a "native" enviroment
|
|
|
|
configdirs=`echo $configdirs | sed 's/gdbserver//'`
|
1992-09-19 19:09:01 +08:00
|
|
|
fi
|
1995-05-28 15:07:21 +08:00
|
|
|
changequote([,])
|
1992-09-19 19:09:01 +08:00
|
|
|
|
|
|
|
# If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
|
1994-09-05 07:16:22 +08:00
|
|
|
# (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the
|
1992-09-19 19:09:01 +08:00
|
|
|
# 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-05 00:59:47 +09:00
|
|
|
files=
|
|
|
|
links=
|
1991-07-31 09:34:07 +09:00
|
|
|
rm -f xm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${hostfile}" != ""; then
|
|
|
|
files="${files} config/${gdb_host_cpu}/${hostfile}"
|
|
|
|
links="${links} xm.h"
|
1991-07-05 00:59:47 +09:00
|
|
|
fi
|
1991-07-31 09:34:07 +09:00
|
|
|
rm -f tm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${targetfile}" != ""; then
|
|
|
|
files="${files} config/${gdb_target_cpu}/${targetfile}"
|
|
|
|
links="${links} tm.h"
|
1991-07-05 00:59:47 +09: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 09:01:49 +08:00
|
|
|
rm -f nm.h
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
if test "${nativefile}" != ""; then
|
|
|
|
files="${files} config/${gdb_host_cpu}/${nativefile}"
|
|
|
|
links="${links} nm.h"
|
1992-09-30 10:03:24 +08:00
|
|
|
else
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# A cross-only configuration.
|
|
|
|
files="${files} config/nm-empty.h"
|
|
|
|
links="${links} nm.h"
|
1992-09-19 19:09:01 +08:00
|
|
|
fi
|
1994-12-31 07:42:46 +08:00
|
|
|
# start-sanitize-gdbtk
|
1991-05-19 09:16:46 +09:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
# Make it possible to use the GUI without doing a full install
|
|
|
|
if test "${enable_gdbtk}" = "yes" -a ! -f gdbtk.tcl ; then
|
|
|
|
files="${files} gdbtk.tcl"
|
|
|
|
links="${links} gdbtk.tcl"
|
1994-07-29 06:07:02 +08:00
|
|
|
fi
|
1994-12-31 07:42:46 +08:00
|
|
|
# end-sanitize-gdbtk
|
1994-07-29 06:07:02 +08:00
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
AC_LINK_FILES($files, $links)
|
|
|
|
|
|
|
|
AC_CONFIG_SUBDIRS($configdirs)
|
|
|
|
AC_OUTPUT(Makefile,
|
|
|
|
[
|
|
|
|
dnl Autoconf doesn't provide a mechanism for modifying definitions
|
|
|
|
dnl provided by makefile fragments.
|
|
|
|
dnl
|
|
|
|
if test "${nativefile}" = ""; then
|
|
|
|
sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
|
|
|
|
< Makefile > Makefile.tem
|
|
|
|
mv -f Makefile.tem Makefile
|
1995-05-03 09:43:27 +08:00
|
|
|
fi
|
|
|
|
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
changequote(,)dnl
|
* 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-20 02:49:50 +08: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
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
changequote([,])dnl
|
|
|
|
|
|
|
|
case ${srcdir} in
|
|
|
|
.)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
|
|
|
|
echo "source ${srcdir}/.gdbinit" >> .gdbinit
|
|
|
|
esac
|
1995-05-17 04:21:58 +08:00
|
|
|
],
|
|
|
|
[
|
|
|
|
gdb_host_cpu=$gdb_host_cpu
|
|
|
|
gdb_target_cpu=$gdb_target_cpu
|
|
|
|
nativefile=$nativefile
|
* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.
* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 08:18:43 +08:00
|
|
|
])
|
1995-09-02 21:48:16 +08:00
|
|
|
|
|
|
|
exit 0
|