OSDN Git Service

Group errors for many missing shared libraries.
authorpalves <palves>
Wed, 14 Apr 2010 13:49:52 +0000 (13:49 +0000)
committerpalves <palves>
Wed, 14 Apr 2010 13:49:52 +0000 (13:49 +0000)
commit2f785671c4eb5650f16a714d49c108de12a21ae2
treeb095bc0dfb5c2db5dcd7d40005f52132bf7eae20
parent1e16f593db9bd5a8a8701a23f411e0452010f136
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