diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-14 13:49:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-14 13:49:53 +0000 |
commit | 048d532d6e774418e2e7b40b645b4c249f636aa4 (patch) | |
tree | 388631d4dcba2dd00e4b9e0d9150189593b97088 /gdb/solist.h | |
parent | 044c0f87fe79cbb4061927b594490235c5b0a948 (diff) | |
download | gdb-048d532d6e774418e2e7b40b645b4c249f636aa4.zip gdb-048d532d6e774418e2e7b40b645b4c249f636aa4.tar.gz gdb-048d532d6e774418e2e7b40b645b4c249f636aa4.tar.bz2 |
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/solist.h')
-rw-r--r-- | gdb/solist.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/solist.h b/gdb/solist.h index 51bfce9..77eb2ae 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -63,7 +63,6 @@ struct so_list bfd *abfd; char symbols_loaded; /* flag: symbols read in yet? */ - char from_tty; /* flag: print msgs? */ struct objfile *objfile; /* objfile for loaded lib */ struct target_section *sections; struct target_section *sections_end; |