cal_gdbstub: Blinky and the gdb trap - a gdb debug adventure
Posted: Thu Jun 25, 2015 6:53 am
Moin and hello to the ESP8266 enthusiasts!
for the impatient, here is the tale: https://github.com/cal101/cal_gdbstub/b ... kyTale1.md
For some time I am working on a way to debug an ESP8266 without using further hardware like a JTAG adapter
(viewtopic.php?f=9&t=1871) or using an emulator (viewtopic.php?f=9&t=26).
I took the way of writing a gdb stub as mentioned here: viewtopic.php?f=9&t=3734
The source code is not ready for publication but I decided to publish atleast a library.
https://github.com/cal101/cal_gdbstub
Please let me know what you think about it.
Let me know what aspects need to be addressed next to make it more useful.
Feel free to open issues for bugs and enhancement requests but keep discussions in the forum.
The first tale: https://github.com/cal101/cal_gdbstub/b ... kyTale1.md
I have some ideas about more tales like how Blinky meets the watch dog or how Blinky gets "interrupt"ed,
tell me if you want to hear them or have other ideas.
Have fun,
Cal
for the impatient, here is the tale: https://github.com/cal101/cal_gdbstub/b ... kyTale1.md
For some time I am working on a way to debug an ESP8266 without using further hardware like a JTAG adapter
(viewtopic.php?f=9&t=1871) or using an emulator (viewtopic.php?f=9&t=26).
I took the way of writing a gdb stub as mentioned here: viewtopic.php?f=9&t=3734
The source code is not ready for publication but I decided to publish atleast a library.
https://github.com/cal101/cal_gdbstub
Please let me know what you think about it.
Let me know what aspects need to be addressed next to make it more useful.
Feel free to open issues for bugs and enhancement requests but keep discussions in the forum.
The first tale: https://github.com/cal101/cal_gdbstub/b ... kyTale1.md
I have some ideas about more tales like how Blinky meets the watch dog or how Blinky gets "interrupt"ed,
tell me if you want to hear them or have other ideas.
Have fun,
Cal