I am trying to debug my program using debug module but it showing me this.
Breakpoint 1 at 0x1cc: file /home/merl/github_repos/azadi/tests/asm/add.c, line 4. (gdb) c Continuing. Warning: Cannot insert breakpoint 1. Cannot access memory at address 0x1cc Command aborted. (gdb) info mem Using memory regions provided by the target. There are no memory regions defined.what does it mean how can i define memory regions which gdb can understand??
this is the issue gdb is providing.
(gdb) b main Breakpoint 1 at 0x1cc: file /home/merl/github_repos/azadi/tests/asm/add.c, line 4. (gdb) c Continuing. warning: Invalid remote reply: vCont;c;C;s;S Abstract command ended in error 'busy' (abstractcs=0x8001102) keep_alive() was not invoked in the 1000 ms timelimit. GDB alive packet not sent! (2975 ms). Workaround: increase "set remotetimeout" in GDB Timed out after 2s waiting for busy to go low (abstractcs=0x8001102). Increase the timeout with riscv set_command_timeout_sec. Abstract command ended in error 'busy' (abstractcs=0x8001102)Error: 957 3442 riscv-013.c:4237 riscv013_halt_go(): unable to halt hart 0 Error: 958 3442 riscv-013.c:4238 riscv013_halt_go(): dmcontrol=0x80000001 Error: 959 3442 riscv-013.c:4239 riscv013_halt_go(): dmstatus =0x00000c82 Error: 960 3442 riscv-013.c:1728 examine(): Fatal: Hart 0 failed to halt during examine() Debug: 961 3442 target.c:1820 target_call_event_callbacks(): target event 20 (examine-fail) for core riscv.tap.0 Warn : 962 3442 target.c:771 target_examine(): target riscv.tap.0 examination failed