aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2016-03-29 01:55:38 +0100
committerPedro Alves <palves@redhat.com>2016-09-19 15:44:42 +0100
commit0d2b53cc3e99a03733fbf9d3dc176cbb3aba8154 (patch)
treeb9995fb66943154c72ee7350b7be2ae899a35646 /gdb/solib.c
parent5fc9325f09979dbab0961eb4ad13748f5dbece81 (diff)
downloadfsf-binutils-gdb-0d2b53cc3e99a03733fbf9d3dc176cbb3aba8154.zip
fsf-binutils-gdb-0d2b53cc3e99a03733fbf9d3dc176cbb3aba8154.tar.gz
fsf-binutils-gdb-0d2b53cc3e99a03733fbf9d3dc176cbb3aba8154.tar.bz2
Defer breakpoint_re_set until after main program+initial solibs are loaded
Fixes execl tests This defers breakpoint_re_set until we've loaded all the main program and the initial solibs. Good on its own anyway, but fixes an issue with breakpoint_re_set limited to a single objfile later in the series.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 8bdf04d..32a490d 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1437,7 +1437,7 @@ reload_shared_libraries (char *ignored, int from_tty,
struct cmd_list_element *e)
{
const struct target_so_ops *ops;
- symfile_add_flags add_flags = 0;
+ symfile_add_flags add_flags = SYMFILE_DEFER_BP_RESET;
if (!auto_solib_add)
add_flags |= SYMFILE_NO_READ;