Move block_found decl to symtab.h.

gdb/ChangeLog:

	* parser-defs.h (block_found): Move decl from here ...
	* symtab.h (block_found): ... to here.
This commit is contained in:
Doug Evans 2014-10-26 10:42:26 -07:00
parent cf901d3bba
commit f08e8df3ab
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2014-10-26 Doug Evans <xdje42@gmail.com>
* parser-defs.h (block_found): Move decl from here ...
* symtab.h (block_found): ... to here.
2014-10-26 Doug Evans <xdje42@gmail.com>
* symtab.h (struct field_of_this_result): Fix typo in comment.

View File

@ -67,11 +67,6 @@ extern CORE_ADDR expression_context_pc;
we've encountered so far. */
extern const struct block *innermost_block;
/* 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 const struct block *block_found;
/* Number of arguments seen so far in innermost function call. */
extern int arglist_len;

View File

@ -1011,6 +1011,10 @@ DEF_VEC_P (symtab_ptr);
extern int currently_reading_symtab;
/* The block in which the most recently looked up symbol was found. */
extern const struct block *block_found;
/* symtab.c lookup functions */
extern const char multiple_symbols_ask[];