Re: breakpoint commands no more working due to MI front-end

Daniel Jacobowitz
2006-01-23T13:49:58Z

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