From: Ian Lance Taylor Date: Fri, 24 Jul 1998 04:44:58 +0000 (+0000) Subject: remove d30v sanitization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c9fd4b158010c91b579d3d37429887af0efbef5;p=binutils-gdb.git remove d30v sanitization --- diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 835e2f47ae1..0a651278f93 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -60,20 +60,6 @@ else fi fi -d30v_files="d30v-tdep.c" - -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${d30v_files} - fi -else - lose_these_too="${d30v_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${d30v_files} - fi -fi - sky_files="txvu-tdep.c" if ( echo $* | grep keep\-sky > /dev/null ) ; then @@ -201,6 +187,7 @@ cp-valprint.c cpu32bug-rom.c cxux-nat.c d10v-tdep.c +d30v-tdep.c dbug-rom.c dbxread.c dcache.c @@ -784,33 +771,6 @@ else done fi -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d30v stuff in $i - fi - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d30v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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\-vr4111 > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab7f7e273cc..b614fd3cf55 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -602,12 +602,10 @@ Mon May 18 13:04:27 1998 Michael Snyder capable target (currently only "remote") before doing anything else. -start-sanitize-d30v Sat May 16 22:21:48 1998 Frank Ch. Eigler * config/d30v/tm-d30v.h (INIT_FRAME_PC_FIRST): Fill in PC into frame struct before extracting saved register offsets. -end-sanitize-d30v Fri May 15 22:47:45 1998 Michael Snyder @@ -1433,13 +1431,10 @@ Tue Mar 24 16:22:40 1998 Stu Grossman * Makefile.in: Derive SHELL from configure. * config/d10v/d10v.mt config/m32r/m32r.mt - config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm - from SIM. This prevents dependency checking of -lm (under NT - native builds). (It is automatically added by configure if it - exists.) -start-sanitize-d30v - * config/d30v/d30v.mt: Ditto. -end-sanitize-d30v + config/mn10200/mn10200.mt config/mn10300/mn10300.mt + config/d30v/d30v.mt : Remove -lm from SIM. This prevents + dependency checking of -lm (under NT native builds). (It is + automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure @@ -2245,7 +2240,6 @@ Wed Jan 14 19:27:02 1998 Stan Shebs * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}: Remove, no longer used. -start-sanitize-d30v Wed Jan 14 18:11:26 1998 Michael Meissner Patch from Jim Wilson. @@ -2254,7 +2248,6 @@ Wed Jan 14 18:11:26 1998 Michael Meissner * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}. -end-sanitize-d30v Tue Jan 13 16:38:48 1998 Fred Fish * configure.in (--with-mmalloc): Add new configure arg to use the diff --git a/gdb/ChangeLog-97 b/gdb/ChangeLog-97 index 61e574ef069..dd8450d9eb8 100644 --- a/gdb/ChangeLog-97 +++ b/gdb/ChangeLog-97 @@ -39,7 +39,6 @@ Mon Dec 22 21:51:53 1997 Mark Alexander * remote-mips.c (_initialize_remote_mips): Fix DDB doc string. -start-sanitize-d30v Sun Dec 21 17:00:06 1997 David Taylor * d30v-tdep.c (d30v_frame_find_saved_regs): split most of @@ -55,7 +54,6 @@ Fri Dec 19 09:49:49 1997 David Taylor (d30v_frame_find_saved_regs): set it. * config/d30v/tm-d30v.h: improved FRAME_CHAIN_VALID -end-sanitize-d30v Thu Dec 18 12:34:28 1997 Andrew Cagney From Gavin Koch : mips-tdep.c @@ -107,7 +105,6 @@ Tue Dec 16 11:24:30 1997 Jeffrey A Law (law@cygnus.com) * remote-sim.c (gdbsim_open): Use "--architecture" instead of ambigious short form. -start-sanitize-d30v Tue Dec 16 10:29:16 1997 David Taylor * d30v-tdep.c (d30v_frame_chain): don't or in DMEM_START to @@ -122,7 +119,6 @@ Tue Dec 16 10:29:16 1997 David Taylor * config/tm-d30v.h (EXTRACT_STRUCT_VALUE_ADDRESS): fix, it's r2, not r0; (FRAME_CHAIN_VALID): handle use of external memory; (STACK_ALIGN): define. -end-sanitize-d30v Mon Dec 15 15:13:57 1997 Andrew Cagney @@ -173,7 +169,6 @@ Thu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com) backwards thru the trace buffer in a loop. * (struct tracepoint): delete unused field. -start-sanitize-d30v Wed Dec 10 17:57:00 1997 David Taylor * d30v-tdep.c : don't bury lots of magic numbers in the code @@ -188,7 +183,6 @@ Wed Dec 10 17:57:00 1997 David Taylor STACK_START; change FR_REGNUM to 61 (was 11). Reformat comment about DUMMY FRAMES so that it is readable. Fix SAVED_PC_AFTER_FRAME macro. -end-sanitize-d30v Wed Dec 10 17:41:07 1997 Jim Blandy @@ -383,7 +377,6 @@ Fri Nov 14 13:04:34 1997 Jeffrey A Law (law@cygnus.com) * jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes. end-sanitize-java -start-sanitize-d30v Thu Nov 13 09:47:35 1997 Michael Meissner * d30v-tdep.c (d30v_print_flags): Function to print the d30v flags @@ -396,7 +389,6 @@ Thu Nov 13 09:47:35 1997 Michael Meissner * config/d30v/tm-d30v.h (PSW_*): Add macros for each of the PSW bits that are defined. -end-sanitize-d30v Wed Nov 12 14:58:39 1997 Jeff Holcomb @@ -671,11 +663,10 @@ Wed Sep 24 18:12:47 1997 Stu Grossman * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use intrinsic simulator breakpoints if available, otherwise do it the hard way. -start-sanitize-d30v + * configure.tgt: Add d30v. * d30v-tdep.c: New file. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files. -end-sanitize-d30v Tue Sep 23 11:24:13 1997 Stan Shebs diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 8f8596fc77f..83a1570e7a7 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -29,20 +29,6 @@ else fi fi -d30v_files="d30v" - -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${d30v_files} - fi -else - lose_these_too="${d30v_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${d30v_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 @@ -57,6 +43,7 @@ arc arm convex d10v +d30v gould h8300 h8500 diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 9896d92cff3..bf95f641c2c 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -64,10 +64,8 @@ c1-*-*) gdb_target=convex ;; c2-*-*) gdb_target=convex ;; d10v-*-*) gdb_target=d10v ;; -# start-sanitize-d30v d30v-*-*) gdb_target=d30v ;; -# end-sanitize-d30v h8300-*-*) gdb_target=h8300 ;; h8500-*-*) gdb_target=h8500 ;;