1.Start debug
Open 2 windowns, one is use gdbserver to execute destnation execute, another is use gdb to remote debug.
gdbserver windown:
gdb windown:
If you want to pause program, use 'Ctrl+C'.
"f" is as "step out" command.
Multiple thread: If this situation, use below command:
info thread
Appendix 1 gdb within one command windown
Start command
gdb *.exe
the use "run" to run the exe program, not use "c" as unix environment.
Important command
b test.cpp:888
Pause program command: If in windows environment, "Ctrl+C" is direct end the execute, so if want to use 'pause' functon, must use 2 command windowns.
(end)