From 038e48cf64c25440a26e70217466b37d6304d6eb Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 7 Apr 1997 23:01:27 +0000 Subject: [PATCH] Remove m32r sanitization. --- gdb/.Sanitize | 44 +++----------------------------------------- gdb/ChangeLog | 4 ---- gdb/ChangeLog-96 | 14 -------------- gdb/config/.Sanitize | 15 +-------------- gdb/configure.tgt | 2 -- 5 files changed, 4 insertions(+), 75 deletions(-) diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 1902f52b3ea..072082620f5 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -102,20 +102,6 @@ else fi fi -m32r_files="m32r-tdep.c m32r-rom.c m32r-stub.c" - -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - keep_these_too="${m32r_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${m32r_files} - fi -else - lose_these_too="${m32r_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${m32r_files} - fi -fi - # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize @@ -287,6 +273,9 @@ m2-lang.h m2-typeprint.c m2-valprint.c m3-nat.c +m32r-rom.c +m32r-stub.c +m32r-tdep.c m68k-stub.c m68k-tdep.c m68knbsd-nat.c @@ -602,33 +591,6 @@ else done fi -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping m32r stuff in $i - fi - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"m32r\" from $i... - fi - cp $i new - sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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\-tic80 > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed991aa34d2..e910709d2e6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -538,14 +538,12 @@ Tue Feb 11 22:24:39 1997 Dawn Perchik (pollquit, quit, notice_quit): Fix to read cntl-C from the Windows message queue. -start-sanitize-m32r Tue Feb 11 15:36:31 1997 Doug Evans * m32r-rom.c: #include . #ifdef out new load support if wingdb. * m32r/tm-m32r.h (TARGET_M32R): Define, for wingdb. -end-sanitize-m32r Tue Feb 11 12:28:09 1997 Jeffrey A Law (law@cygnus.com) @@ -672,13 +670,11 @@ Mon Feb 03 17:57:58 1997 Mark Alexander (mips_push_arguments): Don't align small arguments in EABI. (mips32_skip_prologue): Attempt to shrink code size a little. -start-sanitize-m32r Mon Feb 3 11:06:05 1997 Michael Snyder * m32r-stub.c: New -- remote protocol support for M32R cpu. * m32r-rom.c: Several experiments with improved download time. * .Sanitize: Add entry for m32r-stub.c -end-sanitize-m32r Fri Jan 31 08:26:39 1997 Mark Alexander diff --git a/gdb/ChangeLog-96 b/gdb/ChangeLog-96 index e8c12046206..7d441979c13 100644 --- a/gdb/ChangeLog-96 +++ b/gdb/ChangeLog-96 @@ -123,12 +123,10 @@ Thu Dec 19 19:42:44 1996 Michael Meissner register saves by using the ep register. end-sanitize-v850 -start-sanitize-m32r Thu Dec 19 15:57:16 1996 Doug Evans * m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def. -end-sanitize-m32r Thu Dec 19 09:38:56 1996 Mark Alexander * values.c (unpack_double): Make it compile with MSVC++ 2.x. @@ -276,9 +274,7 @@ Tue Dec 3 11:38:14 1996 Michael Snyder * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable code for generic call_dummy frames. * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES -start-sanitize-m32r * config/m32r/tm-m32r.h: Ditto. -end-sanitize-m32r * config/sh/tm-sh.h: Ditto. start-sanitize-v850 * config/v850/tm-v850.h: Ditto. @@ -505,9 +501,7 @@ Wed Nov 27 11:29:06 1996 Michael Snyder * blockframe.c: Remove old-style CALL_DUMMY code. * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto. -start-sanitize-m32r * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto. -end-sanitize-m32r * sh-tdep.c, config/sh/tm-sh.h: Ditto. start-sanitize-v850 * v850-tdep.c, config/v850/tm-v850.h: Ditto. @@ -521,10 +515,8 @@ Wed Nov 27 10:32:14 1996 Michael Snyder * frame.h: Declarations for generic CALL_DUMMY frame support. * h8300-tdep.c: Add target function calls using generic frame support. * config/h8300/tm-h8300.h: config for generic target function calls. -start-sanitize-m32r * m32r-tdep.c: Add target function calls using generic frame support. * config/m32r/tm-m32r.h: config for generic target function calls. -end-sanitize-m32r * sh-tdep.c: Add target function calls using generic frame support. * config/sh/tm-sh.h: config for generic target function calls. start-sanitize-v850 @@ -685,13 +677,11 @@ Tue Nov 12 12:16:40 1996 Michael Snyder * sh-tdep.c: Add functionality for target function calls. * config/sh/tm-sh.h: Add support for target function calls. -start-sanitize-m32r Tue Nov 12 12:06:58 1996 Michael Snyder * m32r-tdep.c: Add functionality for target function calls. * valops.c: Small change to support target function calls. * config/m32r/tm-m32r.h: Add support for target function calls. -end-sanitize-m32r Mon Nov 11 17:15:59 1996 Geoffrey Noer @@ -765,12 +755,10 @@ Thu Nov 7 15:19:08 1996 Martin M. Hunt * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be a pointer to the dummy's stack instead of just a flag. -start-sanitize-m32r Tue Nov 5 10:21:02 1996 Michael Snyder * m32r-tdep.c: Improved frame_chain and fn prologue analysis. * config/tm-m32r.h: Add framesize and register to extra_frame_info. -end-sanitize-m32r Tue Nov 5 10:08:07 1996 Stu Grossman (grossman@critters.cygnus.com) @@ -812,7 +800,6 @@ Fri Nov 1 10:50:51 1996 Michael Meissner * monitor.c (dev_name,targ_ops): Move static variables before first use, to avoid compiler warnings. -start-sanitize-m32r Thu Oct 31 16:37:17 1996 Michael Snyder * m32r-tdep.c: Improved frame_chain and fn prologue analysis. @@ -828,7 +815,6 @@ Wed Oct 30 18:14:14 1996 Michael Snyder * m32r-tdep.c, m32r-rom.c: New files. * config/m32r/m32r.mt: New file. * config/m32r/tm-m32r.h: New file. -end-sanitize-m32r Tue Oct 29 16:56:01 1996 Geoffrey Noer diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 4025e8b8c83..0f753493035 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -49,20 +49,6 @@ else fi fi -m32r_files="m32r" - -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - keep_these_too="${m32r_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${m32r_files} - fi -else - lose_these_too="${m32r_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${m32r_files} - fi -fi - tic80_files="tic80" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then @@ -95,6 +81,7 @@ h8300 h8500 i386 i960 +m32r m68k m88k mips diff --git a/gdb/configure.tgt b/gdb/configure.tgt index cb6dc1422fc..5f9cc5585c1 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -111,9 +111,7 @@ i960-*-elf*) gdb_target=mon960 ;; i960-*-nindy*) gdb_target=nindy960 ;; i960-*-vxworks*) gdb_target=vxworks960 ;; -# start-sanitize-m32r m32r-*-elf*) gdb_target=m32r ;; -# end-sanitize-m32r m68000-*-sunos3*) gdb_target=sun2os3 ;; m68000-*-sunos4*) gdb_target=sun2os4 ;; -- 2.30.2