diff options
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 2e2b10b..bdc3d35 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -559,7 +559,7 @@ get_hosting_frame (struct symbol *var, const struct block *var_block, else /* We must be in some function nested lexical block. Just get the outer block: both must share the same frame. */ - frame_block = BLOCK_SUPERBLOCK (frame_block); + frame_block = frame_block->superblock (); } /* Old compilers may not provide a static link, or they may provide an |