diff options
author | Nick Clifton <nickc@redhat.com> | 2002-08-22 16:12:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-08-22 16:12:00 +0000 |
commit | 0ab72ee2fdc5c3cd33575572d99c7199cfb5ff03 (patch) | |
tree | 2cadb9c69ac9e6d65f514b5c9c7b5e9d80882321 | |
parent | f598fd5e7ab8a762661a5af2ad89eb459c6a4586 (diff) | |
download | gdb-0ab72ee2fdc5c3cd33575572d99c7199cfb5ff03.zip gdb-0ab72ee2fdc5c3cd33575572d99c7199cfb5ff03.tar.gz gdb-0ab72ee2fdc5c3cd33575572d99c7199cfb5ff03.tar.bz2 |
Set bfd_error to no_symbols if the symbols could not be read.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/syms.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d9fef30..d0e9ad6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-08-22 Nick Clifton <nickc@redhat.com> + + * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the + symbols are not read. + 2002-08-22 Alan Modra <amodra@bigpond.net.au> * elf32-m68hc11.c: Formatting fixes. @@ -806,6 +806,7 @@ _bfd_generic_read_minisymbols (abfd, dynamic, minisymsp, sizep) return symcount; error_return: + bfd_set_error (bfd_error_no_symbols); if (syms != NULL) free (syms); return -1; |