* parse.c: Don't define block_found; it is defined in symtab.c.
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 20 Apr 1994 15:48:08 +0000 (15:48 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 20 Apr 1994 15:48:08 +0000 (15:48 +0000)
* parser-defs.h: Add comment regarding block_found.

gdb/ChangeLog
gdb/parse.c
gdb/parser-defs.h

index d072675c712ad8c3252ac30ecabf565d300ccafb..acf2aef90d1023f98acc727d63f64879f0e6e46a 100644 (file)
@@ -2,6 +2,8 @@ Wed Apr 20 08:37:16 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c
        takes care of it.
+       * parse.c: Don't define block_found; it is defined in symtab.c.
+       * parser-defs.h: Add comment regarding block_found.
 
 Tue Apr 19 09:46:05 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
index 23de13c088fcd1aa66d14137df978a30af31d6ab..8c387c823383122319ca8dd35a21c10f3a314612 100644 (file)
@@ -45,7 +45,6 @@ int expout_size;
 int expout_ptr;
 struct block *expression_context_block;
 struct block *innermost_block;
-struct block *block_found;
 int arglist_len;
 union type_stack_elt *type_stack;
 int type_stack_depth, type_stack_size;
index c7bdd62ac022424dfc4f004a58e73cdcb6d8daf4..fd03a6e0649a8b6efa9cc96175c7871b053d4a0d 100644 (file)
@@ -43,7 +43,9 @@ extern struct block *expression_context_block;
    we've encountered so far. */
 extern struct block *innermost_block;
 
-/* The block in which the most recently discovered symbol was found. */
+/* The block in which the most recently discovered symbol was found.
+   FIXME: Should be declared along with lookup_symbol in symtab.h; is not
+   related specifically to parsing.  */
 extern struct block *block_found;
 
 /* Number of arguments seen so far in innermost function call.  */