aboutsummaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-07-24 03:03:52 +0000
committerJim Blandy <jimb@codesourcery.com>2002-07-24 03:03:52 +0000
commitf7321c061e11b27aea8d4015bec459b50229cecf (patch)
treeeba4a245ac3aa6fef2094c6e1d22428e3d24711c /gdb/parser-defs.h
parentf345c7910f596aa58611fbc322cd32885a12346a (diff)
downloadgdb-f7321c061e11b27aea8d4015bec459b50229cecf.zip
gdb-f7321c061e11b27aea8d4015bec459b50229cecf.tar.gz
gdb-f7321c061e11b27aea8d4015bec459b50229cecf.tar.bz2
* parser-defs.h (expression_context_pc): Make this extern.
(Thanks to Michael Snyder.)
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 062c34d..748208a 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -41,7 +41,7 @@ extern struct block *expression_context_block;
the block that we want to evaluate expressions at. When debugging
C or C++ code, we use this to find the exact line we're at, and
then look up the macro definitions active at that point. */
-CORE_ADDR expression_context_pc;
+extern CORE_ADDR expression_context_pc;
/* The innermost context required by the stack and register variables
we've encountered so far. */