I built the freedom-u-sdk on my ubuntu 16.04 dev machine. I cross compiled a program on the dev machine, copied the a.out to the freedom-unleashed board, ran the a.out there, got a core file, copied the core file back.
The cross-targeted gdb on the dev box doesn’t recognize the core file; gdb says (Elided):
This GDB was configured as “–host=x86_64-pc-linux-gnu --target=riscv64-unknown-linux-gnu”.
“core”: no core file handler recognizes format
yet running objdump says
freedom-u-sdk/toolchain/bin/riscv64-unknown-linux-gnu-objdump -x core
core: file format elf64-littleriscv
architecture: riscv:rv64, flags 0x00000000:
Is this inability to read core files expected?