diff options
author | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:12:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:12:54 +0000 |
commit | ab11a82c2dc79b3572024b78bcef08980ca0c8c5 (patch) | |
tree | b04e70c7a95e896ae1959db4f0c94b37e6e9bca9 | |
parent | 27161f9e55c4ed204699090e1be660f2fee63714 (diff) | |
download | gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.zip gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.gz gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.bz2 |
Add support for v850e and v850eq targets.
-rw-r--r-- | gdb/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/configure.tgt | 20 | ||||
-rw-r--r-- | ld/.Sanitize | 52 | ||||
-rw-r--r-- | opcodes/.Sanitize | 28 | ||||
-rw-r--r-- | opcodes/ChangeLog | 22 |
5 files changed, 122 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e8d223d..dfe3e97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +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> + + * configure.tgt: Add support for v850eq target. +end-sanitize-v850eq + Sun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * m32r-stub.c: fix typo diff --git a/gdb/configure.tgt b/gdb/configure.tgt index ae56df7..827464a 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -270,6 +270,26 @@ v850-*-*) gdb_target=v850 esac ;; # end-sanitize-v850 +# start-sanitize-v850e +v850e-*-*) gdb_target=v850 + gdb_target_cpu=v850 + case $gdb_host in + windows) + CONFIG_OBS="${CONFIG_OBS} v850ice.o" + LIBS="${LIBS} v850.lib" ;; + esac + ;; +# end-sanitize-v850e +# start-sanitize-v850eq +v850eq-*-*) gdb_target=v850 + gdb_target_cpu=v850 + case $gdb_host in + windows) + CONFIG_OBS="${CONFIG_OBS} v850ice.o" + LIBS="${LIBS} v850.lib" ;; + esac + ;; +# end-sanitize-v850eq w65-*-*) gdb_target=w65 ;; z8k-*-coff*) gdb_target=z8k ;; diff --git a/ld/.Sanitize b/ld/.Sanitize index 074c298..e6a05ec 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -146,6 +146,58 @@ else fi done fi +if ( echo $* | grep keep\-v850e > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850e stuff in $i + fi + fi + done +else + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850e\" from $i... + fi + cp $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... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then + for i in $v850_files ; 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 $v850_files ; 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 r5900_files="ChangeLog configure.tgt" diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index ff90ec6..cb09a29 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -209,21 +209,22 @@ fi v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c" if ( echo $* | grep keep\-v850e > /dev/null ) ; then + if ( echo $* | grep keep\-v850eq > /dev/null ) ; then for i in $v850e_files ; do if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850e stuff in $i + echo Keeping v850e/v850eq stuff in $i fi fi done -else + else for i in $v850e_files ; do - if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then + if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850e\" from $i... + echo Removing traces of \"v850eq\" from $i... fi cp $i new - sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $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... @@ -233,23 +234,24 @@ else mv new $i fi done -fi -if ( echo $* | grep keep\-v850eq > /dev/null ) ; then + fi +else + if ( echo $* | grep keep\-v850eq > /dev/null ) ; then for i in $v850e_files ; do if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850eq stuff in $i + echo Keeping v850e/v850eq stuff in $i fi fi done -else + else for i in $v850e_files ; do - if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then + if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850eq\" from $i... + echo Removing traces of \"v850e/v850eq\" from $i... fi cp $i new - sed '/start\-sanitize\-v850eq/,/end\-sanitize\-v850eq/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... @@ -259,8 +261,10 @@ else mv new $i fi done + fi fi + r5900_files="ChangeLog mips-opc.c" if ( echo $* | grep keep\-r5900 > /dev/null ) ; then for i in $r5900_files ; do diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a7700ec..409c92b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,25 @@ +Mon Aug 18 11:10:03 1997 Nick Clifton <nickc@cygnus.com> + + * v850-opc.c (v850_opcodes[]): Remove use of flag field. +start-sanitize-v850eq + * v850-opc.c (v850_opcodes[]): Add support for reversed short load + opcodes.. +start-sanitize-v850eq + +start-sanitize-v850e +Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> + + * configure (cgen_files): Add support for v850e target. + * configure.in (cgen_files): Add support for v850e target. +end-sanitize-v850e + +start-sanitize-v850eq +Mon Aug 18 11:08:25 1997 Nick Clifton <nickc@cygnus.com> + + * configure (cgen_files): Add support for v850eq target. + * configure.in (cgen_files): Add support for v850eq target. +end-sanitize-v850eq + Fri Aug 15 05:17:48 1997 Doug Evans <dje@canuck.cygnus.com> * configure.in (bfd_arc_arch): Add. |