diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-20 15:48:08 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-20 15:48:08 +0000 |
commit | 703e4251af287e5ab16b3e91b5aea293fb49be7c (patch) | |
tree | 501a0166383d5e7f488f9bb39bd4c3b468d9b04c /gdb | |
parent | d7a96d677181e9c478729900b6246677a8a43c1d (diff) | |
download | gdb-703e4251af287e5ab16b3e91b5aea293fb49be7c.zip gdb-703e4251af287e5ab16b3e91b5aea293fb49be7c.tar.gz gdb-703e4251af287e5ab16b3e91b5aea293fb49be7c.tar.bz2 |
* parse.c: Don't define block_found; it is defined in symtab.c.
* parser-defs.h: Add comment regarding block_found.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/parse.c | 1 | ||||
-rw-r--r-- | gdb/parser-defs.h | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d072675..acf2aef 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 23de13c..8c387c8 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 c7bdd62..fd03a6e 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. */ |