gdb calls bypassbreakpoints
Andrew Cagney
cagney@gnu.org
Mon Jul 26 21:21:00 GMT 2004
> Hi,
Are you asking that, for the period of the inferior function call, all
the user breakpoints be disabled?
yes that could be useful
Andrew
> 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
More information about the Gdb
mailing list