commit | 2db20b97f1dc3e5dce3d6ed74a8a62f0dede8c80 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Aug 09 09:58:36 2023 +0930 |
committer | Alan Modra <amodra@gmail.com> | Fri Aug 11 22:16:32 2023 +0930 |
tree | 255302b03f963939d9de59310a2e9c6dbe2ee86a | |
parent | 19c5c1bb327dbb5c88cd52571896c56296f5a308 [diff] |
gdb: warn unused result for bfd IO functions This fixes the compilation warnings introduced by my bfdio.c patch. The removed bfd_seeks in coff_symfile_read date back to 1994, commit 7f4c859520, prior to which the file used stdio rather than bfd to read symbols. Since it now uses bfd to read the file there should be no need to synchronise to bfd's idea of the file position. I also fixed a potential uninitialised memory access. Approved-By: Andrew Burgess <aburgess@redhat.com>