dgbstub
Posted: Wed May 31, 2017 8:32 pm
Howdy do, I'm trying to see if I can root out a very elusive bug using the gdbstub debugging utility provided by espressif. I've been following the directions found here:https://github.com/espressif/esp-gdbstub. So far I think I've modified the necessary flags, but when I go to include gdbstub_init(); in setup(), I get "error compiling for WesMos." I thought maybe that I needed to rebuild the Arduino IDE to include .S files, but I'm not sure if that's the issue (actually I'm not sure where I read I needed to do that). I also read on this forum that I don't actually need to have gdbstub_init(); because it's already taken care of in the background. If I don't include this line, I don't get this error.
So,
1) Do I need to recompile Arduino IDE to recognize .S assembly files when it compiles?
2) Do I need to include gdbstub_init(); in sketch?
3) Can someone give me a hint as to how to use the
script: xtensa-lx106-elf-gdb
that it mentions in the directions in the link above.
Thanks one and all!
So,
1) Do I need to recompile Arduino IDE to recognize .S assembly files when it compiles?
2) Do I need to include gdbstub_init(); in sketch?
3) Can someone give me a hint as to how to use the
script: xtensa-lx106-elf-gdb
that it mentions in the directions in the link above.
Thanks one and all!