cal wrote:projectgus wrote:Sorry, I missed a detail somewhere and thought you were using JTAG of some kind. What are you doing? You're writing code that allows esp8266 to be a gdb server for itself, without using the OCD (on chip debug) features?No.
Playing. Raw version of c/si/x/hbreak and ctrl-c sometimes running, not ready to publish yet,
Yes. Thats why I aked for a gdb server trace from you to see how gdb multi thread stuff is used on that single
thread bare metal. Would you, ...., please ?
Here you go: https://projectgus.com/files/esp8266/debugsession/
The files are a 'script' capture from gdb with 'debug remote 1' and an openocd log with '-d' set.
Order of operations was something like: connect to remote, mon reset halt, bt (got somewhat invalid looking trace - the register cache doesn't seem to refresh properly immediately after reset), si, bt (got better looking trace), info regs. Then tried 'continue' but something broke so reset, ctrl-c to break, bt, si a few times.
The program under test was compiled with the RTOS SDK.
Can do that but i got the impression that those interrupt numbers are the virtual interrupt numbers
as defined by xtos.
An incomplete list is here (the "interrupt related" numbers)
https://github.com/nodemcu/nodemcu-firm ... /ets_sys.h
That may be different for rtos.
Sounds like you might be right. Lots I don't quite understand about how it all fits together!
What timezone do you have? For me its MET (GMT +2, Europe, Germany).
Melbourne, Australia. GMT+10.