diff options
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r-- | gdb/btrace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c index 66f20ee..5544c62 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -547,7 +547,6 @@ ftrace_new_gap (struct btrace_thread_info *btinfo, int errcode, static struct btrace_function * ftrace_update_function (struct btrace_thread_info *btinfo, CORE_ADDR pc) { - struct bound_minimal_symbol bmfun; struct minimal_symbol *mfun; struct symbol *fun; struct btrace_function *bfun; @@ -556,7 +555,7 @@ ftrace_update_function (struct btrace_thread_info *btinfo, CORE_ADDR pc) to avoid surprises when we sometimes get a full symbol and sometimes only a minimal symbol. */ fun = find_pc_function (pc); - bmfun = lookup_minimal_symbol_by_pc (pc); + bound_minimal_symbol bmfun = lookup_minimal_symbol_by_pc (pc); mfun = bmfun.minsym; if (fun == NULL && mfun == NULL) |