From 22f83b9399718ab1e5701641a6cfe3ee6c180162 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sat, 26 Mar 2016 00:06:19 +0000 Subject: lookup_minimal_symbol_text Noticed that create_exception_master_breakpoint could be using the cheaper lookup_minimal_symbol_text instead of lookup_minimal_symbol. --- gdb/breakpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 8faea58..cfda918 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -3727,7 +3727,7 @@ create_exception_master_breakpoint (struct sym_search_scope *search_scope) { struct bound_minimal_symbol debug_hook; - debug_hook = lookup_minimal_symbol (func_name, NULL, objfile); + debug_hook = lookup_minimal_symbol_text (func_name, objfile); if (debug_hook.minsym == NULL) { bp_objfile_data->exception_msym.minsym = &msym_not_found; -- cgit v1.1