gem5.debug fs.py --kernel=riscv.elf --wait-gdb

On 6/15/23 22:17, wanghw364 via gem5-users wrote:
Hi,
Does gem5 riscv support remote gdb to debug the target riscv elf?

I tried in this way but riscv gdb can't connect gem5 and showed connection time out and gem5 keep running the elf to the end: 1. ./build/RISCV/gem5.debug --listener-mode=on --allow-remote-connections --remote-gdb-port=7000 ./configs/example/fs.py --kernel=riscv.elf
2. riscv64-unknown-elf-gdb riscv.elf
3. target remote localhost:7000

Is there anything I did wrong or I haven't done?

Thanks.




_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to