From e2305d340a14c0a718c726ef5f85349db63f7fdc Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 13 Jul 2000 17:54:35 +0000 Subject: [PATCH] 2000-07-13 Michael Snyder * parse.c: Include inferior.h. --- gdb/ChangeLog | 6 +++++- gdb/parse.c | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 60d00037bc4..bc3e7da3ea9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-07-13 Michael Snyder + + * parse.c: Include inferior.h. + 2000-07-12 Michael Snyder * 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 d17dd9f278d..b8757b74752 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. */ -- 2.30.2