* parser-defs.h (expression_context_pc): Make this extern.
authorJim Blandy <jimb@codesourcery.com>
Wed, 24 Jul 2002 03:03:52 +0000 (03:03 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 24 Jul 2002 03:03:52 +0000 (03:03 +0000)
(Thanks to Michael Snyder.)

gdb/ChangeLog
gdb/parser-defs.h

index 05a47ee..d7993d1 100644 (file)
@@ -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.
index 062c34d..748208a 100644 (file)
@@ -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. */