[PATCH] gdb/opcodes: avoid crash when architecture is forced to csky or riscv
Alan Modra
amodra@gmail.com
Thu May 20 09:12:35 GMT 2021
On Thu, May 20, 2021 at 09:25:13AM +0100, Andrew Burgess wrote:
> The patch below moves the NULL check into bfd_get_section_by_name. I
> searched through looking for unneeded NULL checks that could be
> removed, and didn't find any (though I could have missed some).
There are two in bfd/dwarf2.c
> Would this be better than my original suggestion?
A little bit, yes. Thanks, OK with or without the dwarf2.c changes
too.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list