From f7321c061e11b27aea8d4015bec459b50229cecf Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 24 Jul 2002 03:03:52 +0000 Subject: [PATCH] * parser-defs.h (expression_context_pc): Make this extern. (Thanks to Michael Snyder.) --- gdb/ChangeLog | 5 +++++ gdb/parser-defs.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 05a47ee71a1..d7993d1ad63 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-07-23 Jim Blandy + + * parser-defs.h (expression_context_pc): Make this extern. + (Thanks to Michael Snyder.) + 2002-07-23 Andrew Cagney GDB 5.2.1 released from 5.2 branch. 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. */ -- 2.30.2