aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>1996-01-16 20:13:27 +0000
committerJim Wilson <wilson@tuliptree.org>1996-01-16 20:13:27 +0000
commit48573afd234edf06f50a9e42f4d3e3ea0383d69a (patch)
tree379203cd5c50999a3380e3c38e30267145a598a0 /gdb/config
parenta61bc32c3d3a1614746e9f8be761cb93ebd88aaa (diff)
downloadgdb-48573afd234edf06f50a9e42f4d3e3ea0383d69a.zip
gdb-48573afd234edf06f50a9e42f4d3e3ea0383d69a.tar.gz
gdb-48573afd234edf06f50a9e42f4d3e3ea0383d69a.tar.bz2
Remove SH3e sanitization.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sh/.Sanitize29
-rw-r--r--gdb/config/sh/tm-sh.h17
2 files changed, 0 insertions, 46 deletions
diff --git a/gdb/config/sh/.Sanitize b/gdb/config/sh/.Sanitize
index 1a4ce68..8e95867 100644
--- a/gdb/config/sh/.Sanitize
+++ b/gdb/config/sh/.Sanitize
@@ -29,33 +29,4 @@ Things-to-lose:
Do-last:
-sh3e_files="tm-sh.h"
-
-if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
- for i in $sh3e_files ; do
- if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping sh3e stuff in $i
- fi
- fi
- done
-else
- for i in $sh3e_files ; do
- if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"sh3e\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 726cb96..0b3d92f 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -98,14 +98,10 @@ extern CORE_ADDR sh_skip_prologue ();
/* Return the GDB type object for the "standard" data type
of data in register N. */
-#define REGISTER_VIRTUAL_TYPE(N) builtin_type_int
-/* start-sanitize-sh3e */
-#undef REGISTER_VIRTUAL_TYPE
#define REGISTER_VIRTUAL_TYPE(N) \
((((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) \
|| (N) == FPUL_REGNUM) \
? builtin_type_float : builtin_type_int)
-/* end-sanitize-sh3e */
/* Initializer for an array of names of registers.
Entries beyond the first NUM_REGS are ignored. */
@@ -113,23 +109,12 @@ extern CORE_ADDR sh_skip_prologue ();
#define REGISTER_NAMES \
{"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
"r8", "r9", "r10","r11","r12","r13","r14","r15",\
- "pc", "pr","gbr","vbr","mach","macl","sr","ticks","stalls","cycles","insts" ,"plr","tlr" }
-/* start-sanitize-sh3e */
-#undef REGISTER_NAMES
-#define REGISTER_NAMES \
- {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
- "r8", "r9", "r10","r11","r12","r13","r14","r15",\
"pc", "pr","gbr","vbr","mach","macl", "sr", "fpul", "fpscr", \
"fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", \
"fr8", "fr9", "fr10","fr11","fr12","fr13","fr14","fr15",\
}
-/* end-sanitize-sh3e */
-#define NUM_REGS 28
-/* start-sanitize-sh3e */
-#undef NUM_REGS
#define NUM_REGS 41
-/* end-sanitize-sh3e */
/* Register numbers of various important registers.
Note that some of these values are "real" register numbers,
@@ -149,12 +134,10 @@ extern CORE_ADDR sh_skip_prologue ();
#define MACL_REGNUM 21
#define SR_REGNUM 22
#define NUM_REALREGS 23
-/* start-sanitize-sh3e */
#define FPUL_REGNUM 23
#define FP0_REGNUM 25
#undef NUM_REALREGS
#define NUM_REALREGS 41
-/* end-sanitize-sh3e */
/* Store the address of the place in which to copy the structure the
subroutine will return. This is called from call_function.