From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17570 invoked by alias); 23 Oct 2008 10:30:48 -0000 Received: (qmail 17496 invoked by uid 22791); 23 Oct 2008 10:30:47 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 23 Oct 2008 10:29:47 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsxRm-00040d-Jy for gdb@sources.redhat.com; Thu, 23 Oct 2008 10:29:42 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Oct 2008 10:29:42 +0000 Received: from vladimir by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Oct 2008 10:29:42 +0000 To: gdb@sources.redhat.com From: Vladimir Prus Subject: Re: Query user with gdb MI intepreter Date: Thu, 23 Oct 2008 10:30:00 -0000 Message-ID: References: <48FDC870.5040900@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00105.txt.bz2 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