diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-04-04 06:52:27 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-04-04 15:35:31 -0700 |
commit | 360d244b24e84c50f2c6054908cfafb370a1f13c (patch) | |
tree | 4d8fc1290ac9ecfe74cbf02f2bd7b9db4ee48494 /gdb/amd64-netbsd-nat.c | |
parent | c2d698fe03a6092d58a07de96068b87836daced0 (diff) | |
download | gdb-360d244b24e84c50f2c6054908cfafb370a1f13c.zip gdb-360d244b24e84c50f2c6054908cfafb370a1f13c.tar.gz gdb-360d244b24e84c50f2c6054908cfafb370a1f13c.tar.bz2 |
bfd: Handle bmmap failure in _bfd_mmap_read_temporary
iovec->bmmap may return MAP_FAILED, which happens in GDB on objects with
iovec == opncls_iovec. Update _bfd_mmap_read_temporary to handle
iovec->bmmap failure.
* libbfd.c (_bfd_mmap_read_temporary): Handle iovec->bmmap
failure.
Diffstat (limited to 'gdb/amd64-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions