From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17585 invoked by alias); 23 Jan 2006 13:49:58 -0000 Received: (qmail 17577 invoked by uid 22791); 23 Jan 2006 13:49:57 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 23 Jan 2006 13:49:56 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F124v-0003Za-2Q; Mon, 23 Jan 2006 08:49:53 -0500 Date: Mon, 23 Jan 2006 13:51:00 -0000 From: Daniel Jacobowitz To: David Lamy-Charrier Cc: GDB List Subject: Re: breakpoint commands no more working due to MI front-end Message-ID: <20060123134952.GA13642@nevyn.them.org> Mail-Followup-To: David Lamy-Charrier , GDB List References: <6541ed4c0601230241p2646be6bm87251b26a935bb7e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6541ed4c0601230241p2646be6bm87251b26a935bb7e@mail.gmail.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00212.txt.bz2 On Mon, Jan 23, 2006 at 11:41:32AM +0100, David Lamy-Charrier wrote: > Hello, > > I am using minGW GDB 6.3.1 on a windows XP Pro PC, and I am using > breakpoint commends to do some tasks each time a breakpoint is reached > and then continue execution. > Everything is working really fine with GDB only and with Insight. > (this is definitely a powerfull feature, I can also use hook-stop to > do the same ). > > But when I try it with Eclipse front-end connected to gdb through MI > commands, it stops working: > GDB stops on my breakpoint but it does not execute the commends > associated to the breakpoint and it does not continue execution. > > I turned on MI logs to see what happens and it appears that GDB sends > a "*stopped\n" message to Eclipse, Eclipse sends commands to get infos > on threads, stack frame... and GDB never executes my commands and > never continue execution. > > Has anybody already encountered this problem ? > Do you think it will be easy for me to modify GDB to workaround this > problem? any hints on the files I should looked at ? There is not enough information here to understand your problem. Can you send a full log of the communication between GDB and Eclipse that shows what's going wrong? -- Daniel Jacobowitz CodeSourcery