X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fparser-defs.h;h=7db1c77e1232057e181619a1680fdce18d1989bc;hb=84f0252a038f4c2ceb70d076f58159eaa8e3dfab;hp=ece28493752f7d1300e7ffc290b7a49657272e21;hpb=1c509ca8216de106f508b463a13ceea60ccce878;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index ece2849375..7db1c77e12 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -37,6 +37,12 @@ extern int expout_ptr; extern struct block *expression_context_block; +/* If expression_context_block is non-zero, then this is the PC within + 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. */ extern struct block *innermost_block;