From 703e4251af287e5ab16b3e91b5aea293fb49be7c Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 20 Apr 1994 15:48:08 +0000 Subject: [PATCH] * parse.c: Don't define block_found; it is defined in symtab.c. * parser-defs.h: Add comment regarding block_found. --- gdb/ChangeLog | 2 ++ gdb/parse.c | 1 - gdb/parser-defs.h | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d072675c712..acf2aef90d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) diff --git a/gdb/parse.c b/gdb/parse.c index 23de13c088f..8c387c82338 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -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; diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index c7bdd62ac02..fd03a6e0649 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -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. */ -- 2.30.2