aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81070fa..3b28443 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Wed Oct 22 12:15:37 1997 Jeffrey A Law (law@cygnus.com)
+
+ * symtab.c: Include inferior.h.
+
Tue Oct 21 14:15:26 1997 Per Bothner <bothner@cygnus.com>
* ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict).
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 059820b..92f6382 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "expression.h"
#include "language.h"
#include "demangle.h"
+#include "inferior.h"
#include "obstack.h"
@@ -912,8 +913,6 @@ lookup_block_symbol (block, name, namespace)
const char *name;
const namespace_enum namespace;
{
- extern struct symbol *ref_search_val PARAMS ((struct symbol *sym,
- CORE_ADDR addr));
register int bot, top, inc;
register struct symbol *sym;
register struct symbol *sym_found = NULL;