- OS: Windows 7
IDE: Eclipse
Compiler: https://github.com/kireevco/esp-alt-sdk
Libraries: Arduino
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:
xtensa-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:
(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.