diff options
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r-- | gdb/go-lang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c index d0c6188cb0b..844f743e83d 100644 --- a/gdb/go-lang.c +++ b/gdb/go-lang.c @@ -32,7 +32,7 @@ */ #include "defs.h" -#include "gdb_obstack.h" +#include "gdbsupport/gdb_obstack.h" #include "block.h" #include "symtab.h" #include "language.h" @@ -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) { @@ -433,7 +433,7 @@ go_block_package_name (const struct block *block) return NULL; } - block = BLOCK_SUPERBLOCK (block); + block = block->superblock (); } return NULL; |