diff options
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index fec7f05..aaf7695 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -122,10 +122,10 @@ get_frame_function (struct frame_info *frame) if (bl == NULL) return NULL; - while (BLOCK_FUNCTION (bl) == NULL && BLOCK_SUPERBLOCK (bl) != NULL) + while (bl->function () == NULL && BLOCK_SUPERBLOCK (bl) != NULL) bl = BLOCK_SUPERBLOCK (bl); - return BLOCK_FUNCTION (bl); + return bl->function (); } |