diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-14 23:20:27 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-14 23:20:27 +0000 |
commit | a86988f21aff8000607ee2f071eea3161f445212 (patch) | |
tree | fe61f873a3d5d6106a172b0c9db6825338aea81f /gdb/monitor.c | |
parent | 589390d6ffbcc8aa63ab7481dbde1696726a05b7 (diff) | |
download | gdb-a86988f21aff8000607ee2f071eea3161f445212.zip gdb-a86988f21aff8000607ee2f071eea3161f445212.tar.gz gdb-a86988f21aff8000607ee2f071eea3161f445212.tar.bz2 |
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.
Diffstat (limited to 'gdb/monitor.c')
0 files changed, 0 insertions, 0 deletions