This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb calls bypassbreakpoints
- From: Luís Russo <lsr at vinci dot inesc-id dot pt>
- To: gdb at sources dot redhat dot com
- Cc: Luís Russo <lsr at vinci dot inesc-id dot pt>
- Date: Fri, 23 Jul 2004 14:38:49 +0100
- Subject: 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