gdb calls bypassbreakpoints

Eli Zaretskii eliz@gnu.org
Sun Jul 25 00:03:00 GMT 2004


> 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.



More information about the Gdb mailing list