GNU Binutils with patches for OS216
Revision | 22f83b9399718ab1e5701641a6cfe3ee6c180162 (tree) |
---|---|
Time | 2016-09-19 23:44:43 |
Author | Pedro Alves <palves@redh...> |
Commiter | Pedro Alves |
lookup_minimal_symbol_text
Noticed that create_exception_master_breakpoint could be using the
cheaper lookup_minimal_symbol_text instead of lookup_minimal_symbol.
@@ -3727,7 +3727,7 @@ create_exception_master_breakpoint (struct sym_search_scope *search_scope) | ||
3727 | 3727 | { |
3728 | 3728 | struct bound_minimal_symbol debug_hook; |
3729 | 3729 | |
3730 | - debug_hook = lookup_minimal_symbol (func_name, NULL, objfile); | |
3730 | + debug_hook = lookup_minimal_symbol_text (func_name, objfile); | |
3731 | 3731 | if (debug_hook.minsym == NULL) |
3732 | 3732 | { |
3733 | 3733 | bp_objfile_data->exception_msym.minsym = &msym_not_found; |