I am debugging a C file. I set some breakpoints inside my C functions that print what's going on. The breakpoints have a list of commands that do some prints and some continues.
Sometimes I want to call the functions with different arguments from those hardcoded in C, and I use the call function.
But then I get this message:
The program being debugged stopped while in a function called from GDB.
When the function (minSphere) is done executing, GDB will silently
stop (instead of continuing to evaluate the expression containing
the function call)
Is there a way to stop this behavior and make gdb act as if the call had came from the C file?
Thanks,
Luís Russo