diff options
-rw-r--r-- | gdb/.Sanitize | 55 | ||||
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/ChangeLog-96 | 26 | ||||
-rw-r--r-- | gdb/config/.Sanitize | 15 | ||||
-rw-r--r-- | gdb/config/v850/.Sanitize | 45 | ||||
-rw-r--r-- | gdb/configure.tgt | 2 |
6 files changed, 40 insertions, 113 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index f559839..68f7ca6 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -88,20 +88,6 @@ else fi fi -v850_files="v850ice.c v850-tdep.c" - -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${v850_files} - fi -else - lose_these_too="${v850_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${v850_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 @@ -439,6 +425,8 @@ value.h values.c vax-tdep.c vx-share +v850ice.c +v850-tdep.c w65-tdep.c w89k-rom.c win32-nat.c @@ -546,22 +534,49 @@ else done fi -if ( echo $* | grep keep\-v850 > /dev/null ) ; then +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850eq stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850eq\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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-v850 $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850 stuff in $i + echo Keeping v850e stuff in $i fi fi done else for i in * ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850\" from $i... + echo Removing traces of \"v850e\" from $i... fi cp $i new - sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new + sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/d' < $i > new if [ -n "${safe}" -a ! -f .Recover/$i ] ; then if [ -n "${verbose}" ] ; then echo Caching $i in .Recover... diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8613031..6789a14 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -122,11 +122,9 @@ Mon Aug 18 17:29:54 1997 Ian Lance Taylor <ian@cygnus.com> (child_wait): Check the return value of handle_exception. Set the continue_status argument to ContinueDebugEvent accordingly. -start-sanitize-v850e Mon Aug 18 11:14:15 1997 Nick Clifton <nickc@cygnus.com> * configure.tgt: Add support for v850e target. -end-sanitize-v850e start-sanitize-v850eq Mon Aug 18 11:14:15 1997 Nick Clifton <nickc@cygnus.com> @@ -572,13 +570,11 @@ Fri Jul 25 16:48:18 1997 Jeffrey A Law (law@cygnus.com) * top.c (execute_command): Force cleanup of alloca areas. * findvar.c (registers_changed): Likewise. -start-sanitize-v850 Fri Jul 25 15:37:15 1997 Stu Grossman <grossman@cygnus.com> * v850ice.c: Include <windows.h>. Support new v850 DLL interface. * Add defs for target status. -end-sanitize-v850 start-sanitize-gdbtk Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com> @@ -1217,9 +1213,7 @@ Tue Apr 22 09:02:10 1997 Stu Grossman (grossman@critters.cygnus.com) config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: -start-sanitize-v850 config/v850/v850.mt: -end-sanitize-v850 Remove -lm. That's now handled by configure. * Makefile.in (maintainer-clean): Add distclean to dependencies. @@ -2306,10 +2300,8 @@ Fri Jan 3 12:08:16 1997 Stu Grossman (grossman@critters.cygnus.com) ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS and CONFIG_OBS. * configure configure.in: Clean up test cases around thread support. -start-sanitize-v850 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if host is Windows. -end-sanitize-v850 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c printcmd.c valops.c value.h values.c: Add bfd_section arg to value_at and value_at_lazy. @@ -2357,13 +2349,11 @@ end-sanitize-v850 section. * (unpack_double): Clean up _MSC_VER conditionals to remove duplicate code. -start-sanitize-v850 * v850ice.c: New module to support communication with NEC's PC-based ICE. * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and ep names with rxx names. sp and fp are renamed via a different mechanism. -end-sanitize-v850 Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com> diff --git a/gdb/ChangeLog-96 b/gdb/ChangeLog-96 index 7d44197..92de80d 100644 --- a/gdb/ChangeLog-96 +++ b/gdb/ChangeLog-96 @@ -116,13 +116,11 @@ Fri Dec 20 11:06:03 1996 Stu Grossman (grossman@critters.cygnus.com) * mswin/genmakes: Don't define _DEBUG. This breaks wingdb. -start-sanitize-v850 Thu Dec 19 19:42:44 1996 Michael Meissner <meissner@tiktok.cygnus.com> * v850-tdep.c (v850_scan_prologue): Deal with -mep shorting register saves by using the ep register. -end-sanitize-v850 Thu Dec 19 15:57:16 1996 Doug Evans <dje@canuck.cygnus.com> * m32r-tdep.c (m32r_frame_find_saved_regs): Fix thinko in arg def. @@ -276,9 +274,7 @@ Tue Dec 3 11:38:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES * config/m32r/tm-m32r.h: Ditto. * config/sh/tm-sh.h: Ditto. -start-sanitize-v850 * config/v850/tm-v850.h: Ditto. -end-sanitize-v850 Sun Dec 1 00:41:47 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -503,9 +499,7 @@ Wed Nov 27 11:29:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com> * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto. * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto. * sh-tdep.c, config/sh/tm-sh.h: Ditto. -start-sanitize-v850 * v850-tdep.c, config/v850/tm-v850.h: Ditto. -end-sanitize-v850 Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> @@ -519,10 +513,8 @@ Wed Nov 27 10:32:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com> * config/m32r/tm-m32r.h: config for generic target function calls. * 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 * v850-tdep.c: Add target function calls using generic frame support. * config/v850/tm-v850.h: config for generic target function calls. -end-sanitize-v850 * valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be done by PUSH_ARGUMENTS when there's no CALL_DUMMY. @@ -889,15 +881,13 @@ Thu Oct 24 10:06:58 1996 Stu Grossman (grossman@critters.cygnus.com) CUR_SYMBOL_STRX instead. * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. -start-sanitize-v850 * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for MSVC builds. * mswin/gdbwin.c (reg_order): Define register order for V850. * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for V850. * mswin/regdoc.h: Define MAXREGS for V850. -end-sanitize-v850 -start-sanitize-v850 + Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com) * v850-tdep.c (scan_prologue): Changes to deal with scheduled @@ -909,7 +899,6 @@ Tue Oct 22 16:28:20 1996 Stu Grossman (grossman@critters.cygnus.com) we have all the info at this time. * (v850_frame_chain): Use new calling convention for scan_prologue. -end-sanitize-v850 Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack @@ -926,7 +915,6 @@ Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com> sign-extension problems in calculating psymtab addresses. * buildsym.c (end_symtab): Use macro to pop context. -start-sanitize-v850 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com) * v850-tdep.c: Cleanup lots of things. Add many comments. @@ -935,7 +923,6 @@ Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com) sign bugs with scanning prologues. Get a little smarter about calculating the length of uninteresting instructions. -end-sanitize-v850 Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com> * top.c: Add new commands "set annotate" and "show annotate". @@ -971,14 +958,12 @@ Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com> equivalent expression uses. * infrun.c (wait_for_inferior): Ditto. -start-sanitize-v850 Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com) * v850-tdep.c (v850_push_arguments): Use symbolic names for arg registers. * config/v850/tm-v850.h: Change FP to 29. Define arg regs. -end-sanitize-v850 Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com) * Makefile.in (init.c): Don't use -s option with grep. It means @@ -998,13 +983,10 @@ Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com) * utils.c (floatformat_from_doublest): Fix logic error with converting from double to float. (It wasn't shifting mant_long if it had a hidden bit.) - -start-sanitize-v850 * v850-tdep.c: Add support for function calling. Fix some problems with debugging code w/o debug symbols. * config/v850/tm-v850.h: Ditto. -end-sanitize-v850 Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com> * utils.c: Always ensure that size_t is defined. Check @@ -1027,11 +1009,9 @@ Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com) struct frame to make it possible to use frame_saved_regs in EXTRA_FRAME_INFO macro. -start-sanitize-v850 * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and macros to make frame operations (such as backtrace) work. -end-sanitize-v850 Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com> * dbxread.c (process_one_symbol): Check for null string directly @@ -1180,26 +1160,22 @@ Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com> * defs.h: Remove define of PRIVATE_XMALLOC. -start-sanitize-v850 Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com) * config/v850/tm-v850.h: Use distinct register for PC, not EIPC. -end-sanitize-v850 Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com) * top.c (execute_control_command): Free values from while_control and if_control conditions after evaluation to avoid storage leaks. From Peter Schauer. -start-sanitize-v850 Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com) * configure configure.in: Recognize v850 target. * v850-tdep.c: New file, NEC V850 target support. * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support. -end-sanitize-v850 Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): Update current_line and diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 0f75349..9515f10 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -35,20 +35,6 @@ else fi fi -v850_files="v850" - -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${v850_files} - fi -else - lose_these_too="${v850_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${v850_files} - fi -fi - tic80_files="tic80" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then @@ -113,6 +99,7 @@ xm-lynx.h xm-mpw.h xm-nbsd.h xm-sysv4.h +v850 w65 z8k diff --git a/gdb/config/v850/.Sanitize b/gdb/config/v850/.Sanitize index ce96c03..4d101e9 100644 --- a/gdb/config/v850/.Sanitize +++ b/gdb/config/v850/.Sanitize @@ -15,20 +15,6 @@ Do-first: -v850_files="tm-v850.h v850.mt" - -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" - if [ -n "${verbose}" ] ; then - echo Keeping ${v850_files} - fi -else - lose_these_too="${v850_files} ${lose_these_too}" - if [ -n "${verbose}" ] ; then - echo Deleting ${v850_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 @@ -37,36 +23,11 @@ fi Things-to-keep: -Things-to-lose: +tm-v850.h +v850.mt +Things-to-lose: Do-last: -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v850 stuff in $i - fi - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850\" from $i... - fi - cp $i new - sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/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 - # End of file. diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 827464a..8778c14 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -261,7 +261,6 @@ tic80-*-*) gdb_target=tic80 vax-*-*) gdb_target=vax ;; -# start-sanitize-v850 v850-*-*) gdb_target=v850 case $gdb_host in windows) @@ -269,7 +268,6 @@ v850-*-*) gdb_target=v850 LIBS="${LIBS} v850.lib" ;; esac ;; -# end-sanitize-v850 # start-sanitize-v850e v850e-*-*) gdb_target=v850 gdb_target_cpu=v850 |