lowrisc-toolchains
lowrisc-toolchains copied to clipboard
GDB no longer supports ELF
Since the script rework GDB complains about ELF files:
I'm sorry, Dave, I can't do that. Symbol format `elf32-littleriscv' unknown.
When I configure binutils, the GDB configure script says:
checking for ELF support in BFD... no
I'm not sure how to convince BFD to support ELF yet.
Here's the diff between gdb --configuration from before and after the rework:
---host=x86_64-build_pc-linux-gnu
+--host=x86_64-pc-linux-gnu
---with-expat
+--without-expat
---with-mpfr
+--without-mpfr
---enable-threading
---with-sysroot=/tools/riscv/riscv32-unknown-elf (relocatable)