diff options
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r-- | gdb/linespec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c index 81f526d..2fe845f 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -3254,7 +3254,7 @@ find_label_symbols (struct linespec_state *self, return NULL; fn_sym = BLOCK_FUNCTION (block); - sym = lookup_symbol (name, block, LABEL_DOMAIN, 0); + sym = lookup_symbol (name, block, LABEL_DOMAIN, 0).symbol; if (sym != NULL) { @@ -3269,7 +3269,7 @@ find_label_symbols (struct linespec_state *self, { set_current_program_space (SYMTAB_PSPACE (symbol_symtab (fn_sym))); block = SYMBOL_BLOCK_VALUE (fn_sym); - sym = lookup_symbol (name, block, LABEL_DOMAIN, 0); + sym = lookup_symbol (name, block, LABEL_DOMAIN, 0).symbol; if (sym != NULL) { |