Post topics, source code that relate to the Arduino Platform

User avatar
By Nobodyman
#46409
I spend a lot of time to implement gdbstub in my sample projekt. One main difficulty was to find gdb. But now I can run gdb but it´s not working correctly.

Input:
Code: Select allxtensa-lx106-elf-gdb -b 115200
file build/blink.elf
set remotelogfile gdb_rsp_logfile.txt
set remote hardware-breakpoint-limit 1
set remote hardware-watchpoint-limit 1
set debug xtensa 4
target remote com7


Output:
Code: Select all(trace) xtensa_unwind_pc (next_frame = 0x4c41070)
(info ) [xtensa_unwind_pc] pc = 0xe8762040
Register 42 is not available
0xe8762040 in ?? ()


I followed the instructions above but something is wrong. Maybe someone else has useful tips.