diff options
author | Jeff Law <law@redhat.com> | 1996-06-18 23:19:44 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-06-18 23:19:44 +0000 |
commit | 04f5f28af73595d7349970305d20d715ff63655c (patch) | |
tree | 7a3888d5e7c18c94db04ba946729204903599576 /include | |
parent | cc9738177659a2877a1a57c28f02570022233f33 (diff) | |
download | gdb-04f5f28af73595d7349970305d20d715ff63655c.zip gdb-04f5f28af73595d7349970305d20d715ff63655c.tar.gz gdb-04f5f28af73595d7349970305d20d715ff63655c.tar.bz2 |
* h8300.h: Reorder various #defines for readability.
(ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
(BITOP): Accept additional (unused) argument. All callers changed.
(EBITOP): Likewise.
(O_LAST): Bump.
(ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.
start-sanitize-h8s
* h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
(O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
(BITOP, EBITOP): Handle new H8/S addressing modes for
bit insns.
(UNOP3): Handle new shift/rotate insns on the H8/S.
(insns using exr): New instructions.
(tas, mac, ldmac, clrmac, ldm, stm): New instructions.
end-sanitize-h8s
You guessed it. More H8/S junk.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/.Sanitize | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize index 76b8d9f..9300d00 100644 --- a/include/opcode/.Sanitize +++ b/include/opcode/.Sanitize @@ -86,6 +86,33 @@ else done fi +h8s_files="ChangeLog h8300.h" +if ( echo $* | grep keep\-h8s > /dev/null ) ; then + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping h8s stuff in $i + fi + fi + done +else + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"h8s\" from $i... + fi + cp $i new + sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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 for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |