diff options
author | Stu Grossman <grossman@cygnus> | 1995-11-04 19:02:42 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-11-04 19:02:42 +0000 |
commit | 188c635fbb8b6b15ffd3a12f2665dc17d09ff947 (patch) | |
tree | a81b260374c0fd4b5cf393f33d1bf7f2abaa1361 /gdb/configure.in | |
parent | 536a7a161837680bf28ad1c8278ee1db9b3ac8a7 (diff) | |
download | gdb-188c635fbb8b6b15ffd3a12f2665dc17d09ff947.zip gdb-188c635fbb8b6b15ffd3a12f2665dc17d09ff947.tar.gz gdb-188c635fbb8b6b15ffd3a12f2665dc17d09ff947.tar.bz2 |
* Makefile.in (INTERNAL_CFLAGS): Add ENABLE_CFLAGS.
* fork-child.c (fork_inferior): Add call to
TARGET_CREATE_INFERIOR_HOOK to allow target specific code to get
control just before the new process executes it's first instruction.
* remote-mips.c (mips_initialize): Cleanup a bit. Don't try to
receive a packet at first. This speeds up initialization a lot.
Use TARGET_MONITOR_PROMPT instead of "<IDT>".
(common_breakpoint): Use rresponse instead of rerrflg to inspect
error code.
* symfile.c (syms_from_objfile reread_symbols): Call
TARGET_SYMFILE_POSTREAD to allow target specific code to get
control after reading new symbols.
* target.h: New macros TARGET_SYMFILE_POSTREAD, and
TARGET_CREATE_INFERIOR_HOOK. See above for descriptions.
* config/mips/{irix5.mh nm-irix5.h}: Delete nm-irix5.h. Make
NAT_FILE point directly at ../nm-sysv4.h.
* config/mips/{mipsm3.mh nm-m3.h}: Delete nm-m3.h. Make
NAT_FILE point directly at ../nm-m3.h.
* config/mips/{mipsv4.mh nm-sysv4.h}: Delete nm-sysv4.h. Make
NAT_FILE point directly at ../nm-sysv4.h.
* config/mips/nm-mips.h: Improve comment at top of file.
* config/mips/tm-mips.h (TARGET_MONITOR_PROMPT): Change
definition into a proper string.
start-sanitize-gm
* configure configure.in: Add support for --enable-gm.
(mips*-*-magic*): Change target from magic to idt.
* eval.c expprint.c expression.h parse.c remote-mips.c utils.c:
Change GENERAL_MAGIC_HACKS to GENERAL_MAGIC.
* magic.c magic.h: Update files from GM.
* config/mips/magic.mt: Delete. No longer necessary now that we
use --enable mechanism.
* config/mips/tm-idt.h: Add GM stuff needed for remote GM box.
* config/mips/tm-irix5.h: Add GM stuff needed for native Irix box.
* config/mips/tm-magic.h: Move up to config/tm-magic.h. Move all
platform specific stuff into tm-irix.h and tm-idt.h. Add defs for
TARGET_SYMFILE_POSTREAD and TARGET_CREATE_INFERIOR_HOOK.
end-sanitize-gm
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 38114d1..4c2331a 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -39,6 +39,21 @@ if test "${enable_netrom}" = "yes"; then ENABLE_OBS="${ENABLE_OBS} remote-nrom.o" fi +# start-sanitize-gm +ENABLE_GM= + +AC_ARG_ENABLE(gm, +[ --enable-gm ], +[case "${enableval}" in +yes) ENABLE_OBS="${ENABLE_OBS} magic.o" + ENABLE_CFLAGS=-DGENERAL_MAGIC + ;; +no) ;; +*) AC_MSG_ERROR(bad value ${enableval} given for gm option) ;; +esac]) + +# end-sanitize-gm + # start-sanitize-gdbtk ENABLE_GDBTK= @@ -418,7 +433,7 @@ mips64*-*-elf*) gdb_target=idt64 ;; mips*el-*-ecoff*) gdb_target=idtl ;; mips*-*-ecoff*) gdb_target=idt ;; # start-sanitize-gm -mips*-*-magic*) gdb_target=magic ;; +mips*-*-magic*) gdb_target=idt ;; # end-sanitize-gm mips*el-*-elf*) gdb_target=idtl ;; mips*-*-elf*) gdb_target=idt ;; |