This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: breakpoint commands no more working due to MI front-end
- From: Daniel Jacobowitz <drow at false dot org>
- To: David Lamy-Charrier <david dot lamy at gmail dot com>
- Cc: GDB List <gdb at sources dot redhat dot com>
- Date: Mon, 23 Jan 2006 08:49:53 -0500
- Subject: Re: breakpoint commands no more working due to MI front-end
- References: <6541ed4c0601230241p2646be6bm87251b26a935bb7e@mail.gmail.com>
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