diff options
author | Pedro Alves <pedro@codesourcery.com> | 2010-04-14 13:49:52 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2010-04-14 13:49:52 +0000 |
commit | e12b767fb287127671d514eef227486777f0a972 (patch) | |
tree | 6ac1b0e2a35c2a65774c3af1da9d2495b36c728a /gdb/bsd-uthread.c | |
parent | e92d216e7f362371836c6bad86dd5d065c62260a (diff) | |
download | gdb-e12b767fb287127671d514eef227486777f0a972.tar.gz |
Group errors for many missing shared libraries.
* solist.h (struct so_list): Remove from_tty.
* solib.c (solib_bfd_open): Return NULL if we failed to open a BFD.
(solib_map_sections): Take so_list argument. Return 0 if we
failed to open a BFD. Add target sections here.
(symbol_add_stub): Delete.
(solib_read_symbols): Inline symbol_add_stub. Use current flags,
not from_tty copied from the so_list. Don't warn a second time
for a missing library.
(update_solib_list): Don't save from_tty. Use TRY_CATCH. Do not
add to the section table here. Print out a single warning for all
missing libraries.
* bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 for
flags.
Diffstat (limited to 'gdb/bsd-uthread.c')
-rw-r--r-- | gdb/bsd-uthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index 5698a9df338..bb54f2d1c0d 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -250,7 +250,7 @@ bsd_uthread_solib_loaded (struct so_list *so) { if (strncmp (so->so_original_name, *names, strlen (*names)) == 0) { - solib_read_symbols (so, so->from_tty ? SYMFILE_VERBOSE : 0); + solib_read_symbols (so, 0); if (bsd_uthread_activate (so->objfile)) { |