diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-01 16:09:00 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-09-19 15:44:42 +0100 |
commit | 069ed2156b723b9f7aaab8d121ca53c2fe3138ac (patch) | |
tree | ec03bec5217f87f196bf536498e6aa0f42b2dc40 /gdb/solib.c | |
parent | 794d02de770c122e7d462a09f41717bd5065030e (diff) | |
download | fsf-binutils-gdb-069ed2156b723b9f7aaab8d121ca53c2fe3138ac.zip fsf-binutils-gdb-069ed2156b723b9f7aaab8d121ca53c2fe3138ac.tar.gz fsf-binutils-gdb-069ed2156b723b9f7aaab8d121ca53c2fe3138ac.tar.bz2 |
Incremental breakpoint_re_set for solib_add
Finaly enable per-objfile breakpoint_re_set for solibs
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 85ea943..3e4b99a 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -1000,7 +1000,6 @@ solib_add (const char *pattern, symfile_add_flags add_flags, { int any_matches = 0; int loaded_any_symbols = 0; - symfile_add_flags flags = add_flags | SYMFILE_DEFER_BP_RESET; for (gdb = so_list_head; gdb; gdb = gdb->next) if (! pattern || re_exec (gdb->so_name)) @@ -1026,15 +1025,11 @@ solib_add (const char *pattern, symfile_add_flags add_flags, printf_unfiltered (_("Symbols already loaded for %s\n"), gdb->so_name); } - else if (solib_read_symbols (gdb, flags)) + else if (solib_read_symbols (gdb, add_flags)) loaded_any_symbols = 1; } } - if ((add_flags & SYMFILE_DEFER_BP_RESET) == 0 - && loaded_any_symbols) - breakpoint_re_set_program_space (current_program_space); - if (from_tty && pattern && ! any_matches) printf_unfiltered ("No loaded shared libraries match the pattern `%s'.\n", pattern); |