This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Query user with gdb MI intepreter
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 23 Oct 2008 14:29:35 +0400
- Subject: Re: Query user with gdb MI intepreter
- References: <48FDC870.5040900@st.com>
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