aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-10-22 18:12:30 +0000
committerJeff Law <law@redhat.com>1997-10-22 18:12:30 +0000
commit1a490ebc92b34c098ccf55a3e03a58e16025755b (patch)
treed182b654660e2ee1ea312dce888512a2baa8d321
parent517640d9b5419a85812d316280b6948df4314c13 (diff)
downloadgdb-1a490ebc92b34c098ccf55a3e03a58e16025755b.zip
gdb-1a490ebc92b34c098ccf55a3e03a58e16025755b.tar.gz
gdb-1a490ebc92b34c098ccf55a3e03a58e16025755b.tar.bz2
* symtab.c: Include inferior.h.
Brought over from r5900 branch.
-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;