I have a quite similar question than the one done in this SO question, but with a small difference: I'm running GDB from within Qt Creator, not calling it from a terminal, so there is no terminal directly available to execute commands such as monitor exit
or else to make gdbserver`stop running.
And there is one more problem: once I call the command for gdbserver to start listening to a port (and this is done via Minicom), I simply loose any command over Minicom or my target device! It doesn't matter what I type (ps
, quit
, kill ...
, Ctr+C
, etc.), nothing is accepted as command in Minicom once the command to start gdbserver
is called.
So having this particular problems/situations, how can I terminate gdbserver
when it's listening?