This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb calls bypassbreakpoints


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]