projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix resolving GNU ifunc bp locations when inferior runs resolver
[deliverable/binutils-gdb.git]
/
gdb
/
elfread.c
diff --git
a/gdb/elfread.c
b/gdb/elfread.c
index e724f347b9638b50b9f5c0e432058940edb5b803..e7925a3bc443a8a58b30d55a4db714552fb7e047 100644
(file)
--- a/
gdb/elfread.c
+++ b/
gdb/elfread.c
@@
-1026,7
+1026,8
@@
elf_gnu_ifunc_resolver_return_stop (struct breakpoint *b)
b->type = bp_breakpoint;
update_breakpoint_locations (b, current_program_space,
- find_pc_line (resolved_pc, 0), {});
+ find_function_start_sal (resolved_pc, NULL, true),
+ {});
}
/* A helper function for elf_symfile_read that reads the minimal
This page took
0.023782 seconds
and
4
git commands to generate.