aboutsummaryrefslogtreecommitdiff
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
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.)
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/parser-defs.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 05a47ee..d7993d1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-23 Jim Blandy <jimb@redhat.com>
+
+ * parser-defs.h (expression_context_pc): Make this extern.
+ (Thanks to Michael Snyder.)
+
2002-07-23 Andrew Cagney <ac131313@redhat.com>
GDB 5.2.1 released from 5.2 branch.
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. */