This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb calls bypassbreakpoints
> Date: Fri, 23 Jul 2004 16:45:29 -0400
> From: mec.gnu@mindspring.com
>
> That is, if you do this:
>
> (gdb) break foo
> (gdb) break bar
> (gdb) print foo() + bar()
>
> Then when gdb hits the breakpoint in foo(), it's going to forget
> that it was in the middle of evaluating "foo() + bar()".
> gdb will continue evaluating foo(), and when that is done,
> gdb will ask for more commands and not continue with the
> "+ bar()" part.
Well, perhaps we could arrange for the rest of the evaluation to be
pushed on some queue, and the GDB could examine that queue before it
asks for more commands.