Query user with gdb MI intepreter

Vladimir Prus vladimir@codesourcery.com
Thu Oct 23 10:30:00 GMT 2008


Denis PILAT wrote:

> Hi all
> 
> I have a problem with the current gdb that, run from an eclipse
> front-end using MI interpreter, query the user with defaulted_query ()
> to prompt him to "Quit this debugging session?" .
> Is that a normal behavior or not ?
> I thought that gdb should not query user when using MI mode, but I can
> we wrong, that's my point.
> Here is part of th back trace. As you will see, we have an assertion
> that comes from a problem with the frame unwinder, but I want first to
> make sure that this assertion can request for user interaction or no.
> The command that leads to the assertion is a simple -exec-next

I would have expected this query to be auto-asnwered as "yes". Is this not
happening? If not, and GDB actually waits till the user types "yes", it's
clearly a bug.

- Volodya




More information about the Gdb mailing list