diff options
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r-- | gdb/aix-thread.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index f2c5605..4c3df9c 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -376,7 +376,6 @@ pid_to_prc (ptid_t *ptidp) static int pdc_symbol_addrs (pthdb_user_t user_current_pid, pthdb_symbol_t *symbols, int count) { - struct bound_minimal_symbol ms; int i; char *name; @@ -396,7 +395,7 @@ pdc_symbol_addrs (pthdb_user_t user_current_pid, pthdb_symbol_t *symbols, int co symbols[i].addr = 0; else { - ms = lookup_minimal_symbol (name, NULL, NULL); + bound_minimal_symbol ms = lookup_minimal_symbol (name, NULL, NULL); if (ms.minsym == NULL) { if (debug_aix_thread) @@ -956,7 +955,6 @@ pd_enable (inferior *inf) { int status; char *stub_name; - struct bound_minimal_symbol ms; struct aix_thread_variables *data; if (inf == NULL) @@ -980,7 +978,7 @@ pd_enable (inferior *inf) return; /* Set a breakpoint on the returned stub function. */ - ms = lookup_minimal_symbol (stub_name, NULL, NULL); + bound_minimal_symbol ms = lookup_minimal_symbol (stub_name, NULL, NULL); if (ms.minsym == NULL) return; data->pd_brk_addr = ms.value_address (); |