aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-rs6000.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-11 08:43:29 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-11 08:43:29 +0000
commit1304f099bc900e60f31817b19cc22634880c6611 (patch)
tree9f2c2ea6fb401595ea14558b2066d5b0dd94707c /gdb/tm-rs6000.h
parentbab58134b507e9eca3f8d88db45b36d47a4d3168 (diff)
downloadgdb-1304f099bc900e60f31817b19cc22634880c6611.zip
gdb-1304f099bc900e60f31817b19cc22634880c6611.tar.gz
gdb-1304f099bc900e60f31817b19cc22634880c6611.tar.bz2
Small changes from Solaris port. The big stuff is not all working yet.
* inferior.h (register_valid): Declare. * remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h: Remove decl. * objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}): Add macros for traversing the data structures in a single objfile. * tm-m88k.h, tm-sparc.h (REGISTER_NAMES): Remove extra semicolon. * tm-i960.h (REGISTER_NAMES): Cosmetic change. * infcmd.c: Lint.
Diffstat (limited to 'gdb/tm-rs6000.h')
-rw-r--r--gdb/tm-rs6000.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/tm-rs6000.h b/gdb/tm-rs6000.h
index d445607..fbc824d 100644
--- a/gdb/tm-rs6000.h
+++ b/gdb/tm-rs6000.h
@@ -185,8 +185,7 @@ extern int aix_loadInfoTextIndex;
the new frame is not set up until the new function executes
some instructions. */
-extern char registers[];
-extern char register_valid [];
+#include "inferior.h" /* For registers[] and register_valid[]. */
#define SAVED_PC_AFTER_CALL(frame) \
(register_valid [LR_REGNUM] ? \