From: John Gilmore Date: Fri, 6 Nov 1992 11:05:08 +0000 (+0000) Subject: Fix problems noticed by Allan Steel, , X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59c84bd8d574c3f19753507966eec4b3d81ef663;p=binutils-gdb.git Fix problems noticed by Allan Steel, , when debugging a program with 100 shared libraries. * solib.c (solib_map_sections): Always close the BFD we open. Free all malloc'd storage we allocate, too, including error cases. (struct so_list): Remove unused so_bfd member. (clear_solib): Don't bother closing so_bfd. * symfile.c (symfile_bfd_open): Mark newly opened BFD as cacheable. `So many symbol files, so little file descriptors.' --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7b5ce02ee9e..2c4512de7f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +Fri Nov 6 03:00:39 1992 John Gilmore (gnu@cygnus.com) + + Fix problems noticed by Allan Steel, , + when debugging a program with 100 shared libraries. + + * solib.c (solib_map_sections): Always close the BFD we open. + Free all malloc'd storage we allocate, too, including error cases. + (struct so_list): Remove unused so_bfd member. + (clear_solib): Don't bother closing so_bfd. + + * symfile.c (symfile_bfd_open): Mark newly opened BFD as + cacheable. `So many symbol files, so little file descriptors.' + Fri Nov 6 00:14:38 1992 John Gilmore (gnu@cygnus.com) * m68k-stub.c: Remove ansidecl.h and the few uses of it.