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 | b5738624083ca2d3db8dff6527d2dfe959581837 (patch) | |
tree | ecbea8587d09768a77e3d515dc5ab72dab86426b /bfd/syms.c | |
parent | a6588b6d343197e1d87889e9aea0bbef8bc5fe0f (diff) | |
download | gdb-b5738624083ca2d3db8dff6527d2dfe959581837.tar.gz |
Set bfd_error to no_symbols if the symbols could not be read.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c index 8a8abf45387..6eea2d807df 100644 --- a/bfd/syms.c +++ b/bfd/syms.c @@ -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; |