Open kingsumos opened 6 months ago
BTW, below are the errors shown by dwarfdump for the broken elf file:
ERROR: on getting fde details for fde row for address 0x800010cc: DW_DLE_DF_FRAME_DECODING_ERROR: instr opcode 0x3c unknown
ERROR: Printing fde 129 fails. Error DW_DLE_DF_FRAME_DECODING_ERROR: instr opcode 0x3c unknown
ERROR: printing fdes fails. DW_DLE_DF_FRAME_DECODING_ERROR: instr opcode 0x3c unknown Attempting to continue.
Just reporting that I have the same issue but using GCC 13.2.0 ;) GDB sometimes complains about: "Call Frame Instruction op 28 in vendor extension space is not handled on this architecture"
Removing the assembly listing generation (which was passed to linker with: "-Wa,-ahlms=$*.lst") fixes the issue!
The toolchain was created using https://github.com/riscv-collab/riscv-gnu-toolchain project, details below:
GDB version: