Remove sanitized-out Magic Cap support, will never be released

This commit is contained in:
Stan Shebs 1997-10-06 19:38:43 +00:00
parent 243aa0c242
commit 501ad43a89
12 changed files with 2 additions and 1449 deletions

View File

@ -46,20 +46,6 @@ else
fi
fi
gm_files="gmagic.c gmagic.h"
if ( echo $* | grep keep\-gm > /dev/null ) ; then
keep_these_too="${gm_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
echo Keeping ${gm_files}
fi
else
lose_these_too="${gm_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
echo Deleting ${gm_files}
fi
fi
tic80_files="tic80-tdep.c"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
@ -479,33 +465,6 @@ else
done
fi
if ( echo $* | grep keep\-gm > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping gm stuff in $i
fi
fi
done
else
for i in * ; do
if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"gm\" from $i...
fi
cp $i new
sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
fi
mv $i .Recover
fi
mv new $i
fi
done
fi
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then

View File

@ -113,10 +113,6 @@ Mon Dec 11 18:19:16 1995 Stan Shebs <shebs@andros.cygnus.com>
* mac-gdb.r: Fix version resources to use symbolic version strings.
(cfrg): New resource, code fragment for PowerMac.
start-sanitize-gm
mpw-config.in (mips-gm-magic): New configuration.
end-sanitize-gm
Mon Dec 11 14:13:03 1995 Fred Fish <fnf@amigalib.com>
* dbxread.c (process_one_symbol): When looking at the next
@ -372,10 +368,6 @@ Mon Nov 20 14:13:53 1995 Stu Grossman (grossman@cygnus.com)
set a breakpoint within the trampoline where the address will be
known, and continue the target. Once we hit the breakpoint, we
break at the callee's address and proceed as usual.
start-sanitize-gm
* config/tm-magic.h: Define DYNAMIC_TRAMPOLINE_NEXTPC. Turn off
IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE.
end-sanitize-gm
Mon Nov 20 11:12:34 1995 Fred Fish <fnf@cygnus.com>
@ -565,20 +557,6 @@ Sat Nov 4 10:21:58 1995 Stu Grossman (grossman@cygnus.com)
* 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
Wed Nov 1 20:18:08 1995 Fred Fish <fnf@cygnus.com>
@ -869,11 +847,8 @@ Fri Oct 27 09:54:07 1995 Stu Grossman (grossman@cygnus.com)
startup. Eliminate sleeps. Clear breakpoints (if using monitor
breakpoints). Re-init frame.
* (mips_detach): Close down target.
start-sanitize-gm
* (mips_resume): Pass signal down to target.
* (mips_create_inferior): Start target with TARGET_SIGNAL_PWR.
end-sanitize-gm
* (mips_wait): Handle return status with registers, or breakpoint stuff.
* (mips_wait): Handle return status with registers, or breakpoint
* stuff.
* (mips_kill): Add ^C handling.
* (mips_insert_breakpoint mips_remove_breakpoint): Call new
breakpoint stuff if enabled.
@ -884,26 +859,8 @@ end-sanitize-gm
* (mips_load): Don't use `prompt'. It's a global variable.
* top.c (dont_repeat_command): New command for use in
user-defined commands to suppress auto-repeat (by hittin return key).
start-sanitize-gm
* utils.c (request_quit): Call target_kill here. Good idea.
Needs a better implementation.
end-sanitize-gm
* valops.c: Add start of auto function-call abandonment capability.
start-sanitize-gm
* c-exp.y: Add code (currently disabled) to handle GM dynamic
structures (it conflicts with @!).
* eval.c (evaluate_subexp_standard): ditto.
* expprint.c (print_subexp dump_expression): ditto.
* expression.h (enum exp_opcode): ditto.
* parse.c (length_of_subexp): ditto.
* configure, configure.in: Add mip*-*-magic* target.
* magic.c magic.h: Special routines to handle GM stuff (like
stepping through dispatcher).
* config/mips/tm-magic.h config/mips/magic.mt: New files for
magic target support.
end-sanitize-gm
Thu Oct 26 22:02:27 1995 Stan Shebs <shebs@andros.cygnus.com>
* mpw-config.in: Add support for PowerMac host, add beginnings

View File

@ -1523,9 +1523,6 @@ Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com>
* mpw-make.sed: Update for various recent changes, add some
comments.
start-sanitize-gm
* mpw-config.in: Fix name of Magic Cap-specific file.
end-sanitize-gm
Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
@ -5175,9 +5172,6 @@ Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
* Makefile.in (CLIBS): Add LIBS to allow libraries to be
specified on the make command line (via make LIBS=xxx).
start-sanitize-gm
* configure.in (enable-gm): magic.o -> gmagic.o.
end-sanitize-gm
start-sanitize-gdbtk
Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>

View File

@ -298,15 +298,6 @@ exp : exp '.' name
write_exp_elt_opcode (STRUCTOP_STRUCT); }
;
/* start-sanitize-gm
Need to find a better way to do this...
exp : exp '@' name
{ write_exp_elt_opcode (STRUCTOP_FIELD);
write_exp_string ($3);
write_exp_elt_opcode (STRUCTOP_FIELD);
}
end-sanitize-gm */
exp : exp '.' qualified_name
{ /* exp.type::name becomes exp.*(&type::name) */
/* Note: this doesn't work if name is a

20
gdb/configure vendored
View File

@ -13,8 +13,6 @@ ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
--enable-netrom "
ac_help="$ac_help
--enable-gm "
ac_help="$ac_help
--enable-ide Enable IDE support"
ac_help="$ac_help
@ -2412,24 +2410,6 @@ if test "${enable_netrom}" = "yes"; then
CONFIG_OBS="${CONFIG_OBS} remote-nrom.o"
fi
# start-sanitize-gm
ENABLE_GM=
# Check whether --enable-gm or --disable-gm was given.
if test "${enable_gm+set}" = set; then
enableval="$enable_gm"
case "${enableval}" in
yes) CONFIG_OBS="${CONFIG_OBS} gmagic.o"
ENABLE_CFLAGS=-DGENERAL_MAGIC
;;
no) ;;
*) { echo "configure: error: bad value ${enableval} given for gm option" 1>&2; exit 1; } ;;
esac
fi
# end-sanitize-gm
# start-sanitize-gdbtk
ENABLE_IDE=
# Check whether --enable-ide or --disable-ide was given.

View File

@ -226,21 +226,6 @@ if test "${enable_netrom}" = "yes"; then
CONFIG_OBS="${CONFIG_OBS} remote-nrom.o"
fi
# start-sanitize-gm
ENABLE_GM=
AC_ARG_ENABLE(gm,
[ --enable-gm ],
[case "${enableval}" in
yes) CONFIG_OBS="${CONFIG_OBS} gmagic.o"
ENABLE_CFLAGS=-DGENERAL_MAGIC
;;
no) ;;
*) AC_MSG_ERROR(bad value ${enableval} given for gm option) ;;
esac])
# end-sanitize-gm
# start-sanitize-gdbtk
ENABLE_IDE=
AC_ARG_ENABLE(ide, [ --enable-ide Enable IDE support])

View File

@ -180,9 +180,6 @@ mips64*el-*-elf*) gdb_target=embedl64 ;;
mips64*-*-elf*) gdb_target=embed64 ;;
mips*el-*-ecoff*) gdb_target=embedl ;;
mips*-*-ecoff*) gdb_target=embed ;;
# start-sanitize-gm
mips*-*-magic*) gdb_target=embed ;;
# end-sanitize-gm
mips*el-*-elf*) gdb_target=embedl ;;
mips*-*-elf*) gdb_target=embed ;;
mips*-little-*) gdb_target=littlemips ;;

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +0,0 @@
/* gmagic.h - Interface to the General Magic debugger extras */
/* object framework definitions, from FrameworkDefines.asm.h and Generic.h */
#define kIDBitObject 31 /* set for valid object IDs */
#define kIDBitUsable 26 /* set if objectID is usable */
/* Return nonzero if <object> is a valid ObjectID */
#define IsObjectID(object) (((unsigned long)(object) & 0x80000000) != 0)
#define kSizeOfObjectHeader 12 /* size of object header in bytes */
/* public interfaces */
extern void
init_magic PARAMS ((void));
extern void
magic_create_inferior_hook PARAMS ((void));
extern struct type *
type_of_object PARAMS ((CORE_ADDR object));
extern CORE_ADDR
baseptr_of_object PARAMS ((CORE_ADDR object));
extern int
magic_in_dispatcher PARAMS ((CORE_ADDR stop_pc, char *name));
extern CORE_ADDR
magic_skip_dispatcher PARAMS ((CORE_ADDR stop_pc));

View File

@ -41,19 +41,6 @@ Else If "{target_canonical}" =~ /mips-idt-ecoff/
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o'
# start-sanitize-gm
Else If "{target_canonical}" =~ /mips-gm-magic/
forward-include "{srcdir}"config:mips:tm-embed.h tm.h
forward-include "{srcdir}"config:mips:tm-bigmips.h 'mips/tm-bigmips.h'
forward-include "{srcdir}"config:mips:tm-mips.h 'mips/tm-mips.h'
Set tdepfiles '"{o}"mips-tdep.c.o "{o}"remote-mips.c.o "{o}"gmagic.c.o'
If {host_cc} =~ /gcc/
Set enable_cflags '-DGENERAL_MAGIC'
Else
Set enable_cflags '-d GENERAL_MAGIC'
End If
# end-sanitize-gm
Else If "{target_canonical}" =~ /sh-hitachi-hms/
forward-include "{srcdir}"config:sh:tm-sh.h tm.h
Set tdepfiles '"{o}"sh-tdep.c.o'

View File

@ -596,11 +596,6 @@ length_of_subexp (expr, endpos)
case OP_LABELED:
case STRUCTOP_STRUCT:
case STRUCTOP_PTR:
/* start-sanitize-gm */
#ifdef GENERAL_MAGIC
case STRUCTOP_FIELD:
#endif /* GENERAL_MAGIC */
/* end-sanitize-gm */
args = 1;
/* fall through */
case OP_M2_STRING:

View File

@ -1754,15 +1754,6 @@ mips_resume (pid, step, siggnal)
{
int err;
/* start-sanitize-gm */
#ifndef GENERAL_MAGIC
if (siggnal != TARGET_SIGNAL_0)
warning
("Can't send signals to a remote system. Try `handle %s ignore'.",
target_signal_to_name (siggnal));
#endif /* GENERAL_MAGIC */
/* end-sanitize-gm */
/* LSI PMON requires returns a reply packet "0x1 s 0x0 0x57f" after
a single step, so we wait for that. */
mips_request (step ? 's' : 'c',
@ -2302,16 +2293,7 @@ Can't pass arguments to remote MIPS board; arguments ignored.");
/* FIXME: Should we set inferior_pid here? */
/* start-sanitize-gm */
#ifdef GENERAL_MAGIC
magic_create_inferior_hook ();
proceed (entry_pt, TARGET_SIGNAL_PWR, 0);
#else
/* end-sanitize-gm */
proceed (entry_pt, TARGET_SIGNAL_DEFAULT, 0);
/* start-sanitize-gm */
#endif /* GENERAL_MAGIC */
/* end-sanitize-gm */
}
/* Clean up after a process. Actually nothing to do. */