aboutsummaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2017-10-18 19:04:17 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2018-01-21 15:15:47 +0000
commit396af9a1527b396c251e70b5c79b5fc83fd1d7ff (patch)
treec34231aa1e089ec6e51ea26e5dcad7353cb7278b /gdb/expression.h
parentb1b189e04cb5ea5da1cbb07bd6cceccd4d2ac969 (diff)
downloadgdb-396af9a1527b396c251e70b5c79b5fc83fd1d7ff.zip
gdb-396af9a1527b396c251e70b5c79b5fc83fd1d7ff.tar.gz
gdb-396af9a1527b396c251e70b5c79b5fc83fd1d7ff.tar.bz2
gdb: Remove duplicate declaration of global innermost_block
The global 'innermost_block' is declared in two header files. Remove one of the declarations, and add an include of the other header into the one source file that could no longer see a declaration of 'innermost_block'. gdb/ChangeLog: * expression.h (innermost_block): Remove declaration. * varobj.c: Add 'parser-defs.h' include.
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index a783ea5..030f2f0 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -111,11 +111,6 @@ extern expression_up parse_exp_1 (const char **, CORE_ADDR pc,
attempt completion. */
extern int parse_completion;
-/* The innermost context required by the stack and register variables
- we've encountered so far. To use this, set it to NULL, then call
- parse_<whatever>, then look at it. */
-extern const struct block *innermost_block;
-
/* From eval.c */
/* Values of NOSIDE argument to eval_subexp. */