This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: make expression_context_pc extern


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. */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]