how does gdb call functions?
Conversation
Replying to
A great way to get more visibility here is to "sniff" GDB RSP on a remote target using a gdbstub. The REPL thing is great. I use it a lot on bare-metal ARM to the extent that my gdbstub can't do breakpoints, but emulates them just to do the C function call.
2
You can use "set debug remote 1" for gdb to print out the RSP messages.
1
2

