use _filtered routines for printing so symbolic addresses show up in the right place
[deliverable/binutils-gdb.git] / gdb / pyr-pinsn.c
index 4a11dff2f7cc584d389d33caa98a462c5840d98e..3b85acad75c70221ffb99c78b5e87b978ebe13cc 100644 (file)
@@ -1,7 +1,7 @@
 /* Print Pyramid Technology 90x instructions for GDB, the GNU Debugger.
-   Copyright 1988, 1989, 1991 Free Software Foundation, Inc.
+   Copyright 1988, 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,8 +17,6 @@ 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/pyr.h"
@@ -53,7 +51,6 @@ CORE_ADDR pyr_saved_pc(frame)
            frame, 60/4, foo);
     return foo;
 }
-\f
 
 /* Pyramid instructions are never longer than this many bytes.  */
 #define MAXLEN 24
@@ -62,15 +59,10 @@ CORE_ADDR pyr_saved_pc(frame)
 /*const*/ static int nopcodes = (sizeof (pyr_opcodes) / sizeof( pyr_opcodes[0]));
 #define NOPCODES (nopcodes)
 
-extern char *reg_names[];
-\f
-/* Let's be byte-independent so we can use this as a cross-assembler.
-   (will this ever be useful?
- */
+/* Let's be byte-independent so we can use this as a cross-assembler.  */
 
 #define NEXTLONG(p)  \
   (p += 4, (((((p[-4] << 8) + p[-3]) << 8) + p[-2]) << 8) + p[-1])
-
 \f
 /* Print one instruction at address MEMADDR in debugged memory,
    on STREAM.  Returns length of the instruction, in bytes.  */
This page took 0.024735 seconds and 4 git commands to generate.