riscvarchive / riscv-binutils-gdb

RISC-V backports for binutils-gdb. Development is done upstream at the FSF.
GNU General Public License v2.0
148 stars 233 forks source link

Backport fix from FSF to fix configure problem caused by ctf patches. #253

Closed jim-wilson closed 3 years ago

jim-wilson commented 3 years ago

Including bfd.h now also requires including string.h. Fixes riscv-gnu-toolchain #867.

jim-wilson commented 3 years ago

Verified by building with CFLAGS="-O2 -g -Werror=implicit-function-declaration" with and without the patch. Without the patch gdb fails to read ELF files, with the patch gdb can read ELF files.

kito-cheng commented 3 years ago

Thanks :)