aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-07-13 17:54:35 +0000
committerMichael Snyder <msnyder@vmware.com>2000-07-13 17:54:35 +0000
commite2305d340a14c0a718c726ef5f85349db63f7fdc (patch)
tree380567480e018cf7fa80515e059c4e22f83f7f53 /gdb
parent906fac54a8e7a79ceb6ba2d27c57d7ef785fd918 (diff)
downloadgdb-e2305d340a14c0a718c726ef5f85349db63f7fdc.zip
gdb-e2305d340a14c0a718c726ef5f85349db63f7fdc.tar.gz
gdb-e2305d340a14c0a718c726ef5f85349db63f7fdc.tar.bz2
2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
* parse.c: Include inferior.h.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/parse.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 60d0003..bc3e7da 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ * parse.c: Include inferior.h.
+
2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
* regcache.c (registers_changed, registers_fetched): Use
@@ -7,7 +11,7 @@
Pseudo-registers are handled like registers, but they
don't come from or live on the target. They may be
aliases for an existing register, or they may be computed.
- * defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
+ * inferior.h (NUM_PSEUDO_REGISTERS): Define default of zero.
(ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
(ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
# regcache.c (registers_changed): Mark pseudo-registers
diff --git a/gdb/parse.c b/gdb/parse.c
index d17dd9f..b8757b7 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -43,6 +43,9 @@
#include "parser-defs.h"
#include "gdbcmd.h"
#include "symfile.h" /* for overlay functions */
+#include "inferior.h" /* for NUM_PSEUDO_REGS. NOTE: replace
+ with "gdbarch.h" when appropriate. */
+
/* Symbols which architectures can redefine. */