This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb solib.c
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Apr 2010 23:20:27 -0000
- Subject: src/gdb solib.c
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2010-04-14 23:20:27
Modified files:
gdb : solib.c
Log message:
Avoid rereading shared libraries that haven't changed.
* solib.c (free_so_symbols): New function, from ...
(free_so): ... here. Call it.
(solib_read_symbols): Don't warn here if symbols have already been
loaded.
(solib_add): Warn here instead, if a pattern was specified.
(reload_shared_libraries_1): New.
(reload_shared_libraries): Rewrite to not fetch the library list.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/solib.c.diff?cvsroot=src&r1=1.136&r2=1.137