Group errors for many missing shared libraries.
authorPedro Alves <palves@redhat.com>
Wed, 14 Apr 2010 13:49:53 +0000 (13:49 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 14 Apr 2010 13:49:53 +0000 (13:49 +0000)
commit048d532d6e774418e2e7b40b645b4c249f636aa4
tree388631d4dcba2dd00e4b9e0d9150189593b97088
parent044c0f87fe79cbb4061927b594490235c5b0a948
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.
gdb/ChangeLog
gdb/bsd-uthread.c
gdb/solib.c
gdb/solist.h