This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB/MI and ">" prompts
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Marc Khouzam <marc dot khouzam at ericsson dot com>
- Cc: stanshebs at earthlink dot net, gdb-patches at sourceware dot org
- Date: Tue, 08 May 2012 21:49:30 +0300
- Subject: Re: GDB/MI and ">" prompts
- References: <83vckviv3b.fsf@gnu.org> <20120419154853.GM25623@adacore.com> <83sjfzitxx.fsf@gnu.org> <83r4vjitnj.fsf@gnu.org> <20120419185329.GO25623@adacore.com> <83mx67ikxm.fsf@gnu.org> <837gx7hhxa.fsf@gnu.org> <83lilg6ysn.fsf@gnu.org> <4F9EBD0D.2090701@earthlink.net> <F7CE05678329534C957159168FA70DEC57968C02F5@EUSAACMS0703.eamcs.ericsson.se>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Marc Khouzam <marc.khouzam@ericsson.com>
> Date: Tue, 8 May 2012 11:39:25 -0400
>
> I tried Eli's patch with Eclipse and I didn't see any problems.
>
> I was concerned that changing to the CLI interpreter for a while
> could make us lose some MI events, but it does not seem to be
> the case. For example, I tried running a thread that will hit
> a breakpoint in 5 seconds; I then got into the 'commands' secondary
> prompt and waited for the 5 seconds to pass. The *stopped event
> was not reported until I sent the 'end' command and got out
> of the secondary prompt. This is the behavior with and without
> Eli's patch. So it seems MI events are buffered in that case,
> and switching to the CLI interpreter does not make use lose that
> event.
>
> So, it seems ok for an Eclipse perspective.
Thanks!