diff options
Diffstat (limited to 'gdb/common/agent.c')
-rw-r--r-- | gdb/common/agent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/common/agent.c b/gdb/common/agent.c index c23d7dd..fdede74 100644 --- a/gdb/common/agent.c +++ b/gdb/common/agent.c @@ -98,12 +98,12 @@ agent_look_up_symbols (void *arg) if (look_up_one_symbol (symbol_list[i].name, addrp, 1) == 0) #else - struct minimal_symbol *sym = + struct bound_minimal_symbol sym = lookup_minimal_symbol (symbol_list[i].name, NULL, (struct objfile *) arg); - if (sym != NULL) - *addrp = MSYMBOL_VALUE_ADDRESS (sym); + if (sym.minsym != NULL) + *addrp = MSYMBOL_VALUE_ADDRESS (sym.minsym); else #endif { |