From 5337bd558beaa4f86b7cf9855ffee766754b3b42 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 19 Jan 1999 16:20:39 +0000 Subject: disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers updated. new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c). PR 16495 / PR 18213. --- gdb/solib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/solib.c') diff --git a/gdb/solib.c b/gdb/solib.c index 3709469..c8a8ce7 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -1311,6 +1311,8 @@ clear_solib() struct so_list *next; char *bfd_filename; + disable_breakpoints_in_shlibs (1); + while (so_list_head) { if (so_list_head -> sections) @@ -1327,7 +1329,7 @@ clear_solib() else /* This happens for the executable on SVR4. */ bfd_filename = NULL; - + next = so_list_head -> next; if (bfd_filename) free ((PTR)bfd_filename); -- cgit v1.1