(gdb) target remote machine-XYZ:5001
(gdb) b some_function_name
(gdb) c
Continuing.
Now here the remote process have not hit the function and gdb is still in continuing stage. But if I have to add more break point or if I have to detach how can I do that, this can't be done without returning to prompt.
Use control-c to interrupt. This will bring you back to the gdb prompt, where you can enter commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With