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]

gdb calls bypassbreakpoints


Hi,

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

INESC
Rua Alves Redol n 9, 1049-001 LISBOA, PORTUGAL
tel:+351 21 3100272
email:lsr@algos.inesc-id.pt


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