This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Nonsense error messages on invalid aout string offset
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 28 Feb 2018 02:57:21 -0500
- Subject: [binutils-gdb] Nonsense error messages on invalid aout string offset
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 0d329c0a83a23cebb86fbe0ebddd780dc0df2424 ***
Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 0d329c0a83a23cebb86fbe0ebddd780dc0df2424
Nonsense error messages on invalid aout string offset
translate_symbol_table returns false on detecting an out of range name
string offset, hooray for error checking, but doesn't set bfd_error or
print a useful error. bfd_error therefore contains whatever it had
previously, in my testing, bfd_error_system_call. So the error
printed depended on errno.
PR 22887
* aoutx.h (translate_symbol_table): Print an error message and set
bfd_error on finding an invalid name string offset.