aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-03-26 00:06:19 +0000
committerPedro Alves <palves@redhat.com>2016-09-19 15:44:43 +0100
commit22f83b9399718ab1e5701641a6cfe3ee6c180162 (patch)
tree3655f7422eabca41d1f763786f32150dc22d721a /gdb
parent14ca73f748af8e1ee673170bc1541711faea265c (diff)
downloadgdb-users/palves/jit-speedup.zip
gdb-users/palves/jit-speedup.tar.gz
gdb-users/palves/jit-speedup.tar.bz2
lookup_minimal_symbol_textusers/palves/jit-speedup
Noticed that create_exception_master_breakpoint could be using the cheaper lookup_minimal_symbol_text instead of lookup_minimal_symbol.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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;