doc/gdbinv-s.m4.in: remove text on special procedures to continue after
[deliverable/binutils-gdb.git] / gdb / sparc-pinsn.c
index 332b0ad9644cabfeafb1df4167d05bef4a886cb5..2b232f047d38ca0dfd010dde55b4781248524bdb 100644 (file)
@@ -1,7 +1,7 @@
 /* Print SPARC instructions for GDB, the GNU Debugger.
-   Copyright 1989, 1991 Free Software Foundation, Inc.
+   Copyright 1989, 1991, 1992 Free Software Foundation, Inc.
 
-This file is part of GDB, the GNU disassembler.
+This file is part of GDB, the GNU debugger.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -17,16 +17,13 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include <stdio.h>
-
 #include "defs.h"
 #include "symtab.h"
 #include "opcode/sparc.h"
 #include "gdbcore.h"
-#include "string.h"
+#include <string.h>
 #include "target.h"
 
-extern char *reg_names[];
 #define        freg_names      (&reg_names[4 * 8])
 
 union sparc_insn
@@ -116,7 +113,7 @@ print_insn (memaddr, stream)
       opcodes_sorted = 1;
     }
 
-  read_memory (memaddr, &insn, sizeof (insn));
+  read_memory (memaddr, (char *) &insn, sizeof (insn));
 
   for (i = 0; i < NUMOPCODES; ++i)
     {
This page took 0.024808 seconds and 4 git commands to generate.