You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been experimenting with the RTT support in BMP as it looks perfect for fast logging output. However there seems to be an issue with how the polling for rtt IO is performed when stepping through code with gdb.
Currently poll_rtt() is only called in main.c:60 when the while loop has gdb_target_running true. It breaks out of this loop when gdb_target_running goes false before calling the poll_rtt() function. Then the application is blocked waiting for new packets in the gdb_getpacket() and there is no RTT polling performed.
I have been experimenting with the RTT support in BMP as it looks perfect for fast logging output. However there seems to be an issue with how the polling for rtt IO is performed when stepping through code with gdb.
Currently
poll_rtt()
is only called in main.c:60 when the while loop hasgdb_target_running
true. It breaks out of this loop whengdb_target_running
goes false before calling thepoll_rtt()
function. Then the application is blocked waiting for new packets in thegdb_getpacket()
and there is no RTT polling performed.blackmagic/src/main.c
Lines 44 to 64 in 309a17c
I think this can be fixed by ensuring
poll_rtt()
is called on exit from this loop. I can work a up patch and pull request if this will help.The text was updated successfully, but these errors were encountered: