* dis-asm.h (print_insn_txvu): Declare.
authorDoug Evans <dje@google.com>
Mon, 22 Dec 1997 17:24:00 +0000 (17:24 +0000)
committerDoug Evans <dje@google.com>
Mon, 22 Dec 1997 17:24:00 +0000 (17:24 +0000)
include/.Sanitize
include/dis-asm.h

index 9aae187ad7e37ad568af47989d93bc3598627e10..36a634530bb95fa03307568ea9fce83634327bb3 100644 (file)
@@ -117,6 +117,34 @@ else
        done
 fi
 
+sky_files="ChangeLog dis-asm.h"
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+       for i in $sky_files ; do
+               if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sky stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sky_files ; do
+               if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sky\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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
index 43ec142fb83c32dba6f3fc34f8ea783063dda4cf..c6effe3bd69218df9702089867c1b0d562cfea5b 100644 (file)
@@ -172,6 +172,9 @@ extern int print_insn_v850          PARAMS ((bfd_vma, disassemble_info*));
 /* start-sanitize-tic80 */
 extern int print_insn_tic80            PARAMS ((bfd_vma, disassemble_info*));
 /* end-sanitize-tic80 */
+/* start-sanitize-sky */
+extern int print_insn_txvu             PARAMS ((bfd_vma, disassemble_info*));
+/* end-sanitize-sky */
 
 /* Fetch the disassembler for a given BFD, if that support is available.  */
 extern disassembler_ftype disassembler PARAMS ((bfd *));
@@ -200,9 +203,6 @@ extern void generic_print_address
 extern int generic_symbol_at_address
   PARAMS ((bfd_vma, struct disassemble_info *));
 
-/* Pass through the symbol associated with the address being disassembled:  */
-extern void disasm_symaddr PARAMS ((asymbol *sym, disassemble_info *info));
-
 /* Macro to initialize a disassemble_info struct.  This should be called
    by all applications creating such a struct.  */
 #define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \