diff options
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r-- | gdb/go-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c index 74b8b21..b4d85b0 100644 --- a/gdb/go-lang.c +++ b/gdb/go-lang.c @@ -418,7 +418,7 @@ go_block_package_name (const struct block *block) { while (block != NULL) { - struct symbol *function = BLOCK_FUNCTION (block); + struct symbol *function = block->function (); if (function != NULL) { |