aboutsummaryrefslogtreecommitdiff
path: root/gdb/pyr-pinsn.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-13 06:08:09 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-13 06:08:09 +0000
commit609f87d4c94e0a0f897727701ede20f46af7fa1b (patch)
tree9e5624918fb674d468046bacaf10e444b607e5ca /gdb/pyr-pinsn.c
parent4ae6ed3a9e45fc931575f406299ef5b1b0627bdb (diff)
downloadgdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.zip
gdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.tar.gz
gdb-609f87d4c94e0a0f897727701ede20f46af7fa1b.tar.bz2
Remove reg_names decl (now in defs.h).
Diffstat (limited to 'gdb/pyr-pinsn.c')
-rw-r--r--gdb/pyr-pinsn.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/pyr-pinsn.c b/gdb/pyr-pinsn.c
index 6968c54..3b85aca 100644
--- a/gdb/pyr-pinsn.c
+++ b/gdb/pyr-pinsn.c
@@ -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
@@ -51,7 +51,6 @@ CORE_ADDR pyr_saved_pc(frame)
frame, 60/4, foo);
return foo;
}
-
/* Pyramid instructions are never longer than this many bytes. */
#define MAXLEN 24
@@ -60,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[];
-
-/* 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])
-
/* Print one instruction at address MEMADDR in debugged memory,
on STREAM. Returns length of the instruction, in bytes. */