From e385d6e03e0733be01c51d24588b981c9e928d6c Mon Sep 17 00:00:00 2001 From: Geoffrey Noer Date: Sun, 2 Feb 1997 06:49:44 +0000 Subject: [PATCH] Committing sanitize changes --- gdb/.Sanitize | 1 + gdb/config/.Sanitize | 1 + gdb/config/mn10200/.Sanitize | 33 +++++++++++++++++++++++++++++++++ gdb/config/mn10300/.Sanitize | 3 +-- gdb/mn10300-tdep.c | 2 +- 5 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 gdb/config/mn10200/.Sanitize diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 97afa2a498d..fd32ab0e43e 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -304,6 +304,7 @@ mips-tdep.c mipsm3-nat.c mipsv4-nat.c mipsread.c +mn10200-tdep.c mn10300-tdep.c mon960-rom.c monitor.h diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize index 1b8cbbf83ed..d845ea31012 100644 --- a/gdb/config/.Sanitize +++ b/gdb/config/.Sanitize @@ -97,6 +97,7 @@ i960 m68k m88k mips +mn10200 mn10300 nm-empty.h nm-gnu.h diff --git a/gdb/config/mn10200/.Sanitize b/gdb/config/mn10200/.Sanitize new file mode 100644 index 00000000000..9cd0ec4a29c --- /dev/null +++ b/gdb/config/mn10200/.Sanitize @@ -0,0 +1,33 @@ +# .Sanitize for devo/gdb/config/mn10200. + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + +Do-first: + +# 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 +# called. Directories not listed will be removed in their entirety +# with rm -rf. + +Things-to-keep: + +mn10200.mt +tm-mn10200.h + +Things-to-lose: + +Do-last: + +# End of file. diff --git a/gdb/config/mn10300/.Sanitize b/gdb/config/mn10300/.Sanitize index c3a0e112eae..e1bb8e9111c 100644 --- a/gdb/config/mn10300/.Sanitize +++ b/gdb/config/mn10300/.Sanitize @@ -24,11 +24,10 @@ Do-first: Things-to-keep: mn10300.mt +tm-mn10300.h Things-to-lose: -tm-mn10300.h - Do-last: # End of file. diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 2b4befeb366..616abb7960d 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -95,7 +95,7 @@ mn10300_frame_chain (fi) { /* printf("scanning prologue\n"); */ /* FIXME -- fill out this case later */ - return 0x666; /* bogus value */ + return 0x0; /* bogus value */ } if (past_prologue) /* if we don't need to scan the prologue */ -- 2.30.2