diff options
author | Alan Modra <amodra@gmail.com> | 2018-02-28 17:14:24 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-02-28 17:25:02 +1030 |
commit | 0d329c0a83a23cebb86fbe0ebddd780dc0df2424 (patch) | |
tree | ee22c2d2ce3b593e1172083587cf0f850ad46a77 /bfd/pe-mips.c | |
parent | f169cfdc08761a3d9fcd587ad8661102672403ec (diff) | |
download | gdb-0d329c0a83a23cebb86fbe0ebddd780dc0df2424.zip gdb-0d329c0a83a23cebb86fbe0ebddd780dc0df2424.tar.gz gdb-0d329c0a83a23cebb86fbe0ebddd780dc0df2424.tar.bz2 |
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.
Diffstat (limited to 'bfd/pe-mips.c')
0 files changed, 0 insertions, 0 deletions