summaryrefslogtreecommitdiff
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
commiteec64ddb90750cb44ff374daadda7e366d8ea696 (patch)
tree18b1cd701adb8e775cafd4eaed5614da7d20ac71 /gdb/parser-defs.h
parent7cc2135bd04004226d6e9d3c97b2a339a0a7faa0 (diff)
downloadgdb-eec64ddb90750cb44ff374daadda7e366d8ea696.tar.gz
* 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 062c34d54a3..748208ae6d1 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. */