diff options
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 7637e57..6d1b3d9 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -465,7 +465,7 @@ parse_exp_in_context (const char **stringptr, CORE_ADDR pc, struct symtab_and_line cursal = get_current_source_symtab_and_line (); if (cursal.symtab) expression_context_block - = BLOCKVECTOR_BLOCK (cursal.symtab->blockvector (), + = BLOCKVECTOR_BLOCK (cursal.symtab->compunit ()->blockvector (), STATIC_BLOCK); if (expression_context_block) expression_context_pc = BLOCK_ENTRY_PC (expression_context_block); |