PATCH: make expression_context_pc extern
Jim Blandy
jimb@redhat.com
Tue Jul 23 20:14:00 GMT 2002
2002-07-23 Jim Blandy <jimb@redhat.com>
* parser-defs.h (expression_context_pc): Make this extern.
(Thanks to Michael Snyder.)
Index: gdb/parser-defs.h
===================================================================
RCS file: /cvs/src/src/gdb/parser-defs.h,v
retrieving revision 1.10
diff -c -r1.10 parser-defs.h
*** gdb/parser-defs.h 21 Jun 2002 14:32:10 -0000 1.10
--- gdb/parser-defs.h 24 Jul 2002 03:00:41 -0000
***************
*** 41,47 ****
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;
/* The innermost context required by the stack and register variables
we've encountered so far. */
--- 41,47 ----
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. */
! extern CORE_ADDR expression_context_pc;
/* The innermost context required by the stack and register variables
we've encountered so far. */
More information about the Gdb-patches
mailing list