This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Using telnet to control a running GDB
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'Tom Tromey'" <tromey at redhat dot com>
- Cc: "'Jan Kratochvil'" <jan dot kratochvil at redhat dot com>, "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Tue, 7 Dec 2010 12:13:46 -0500
- Subject: RE: Using telnet to control a running GDB
- References: <F7CE05678329534C957159168FA70DEC572E0C0DCD@EUSAACMS0703.eamcs.ericsson.se> <20101129025627.GA4356@host0.dyn.jankratochvil.net> <F7CE05678329534C957159168FA70DEC572E79C43E@EUSAACMS0703.eamcs.ericsson.se> <20101129185524.GA13721@host0.dyn.jankratochvil.net> <F7CE05678329534C957159168FA70DEC572E79C924@EUSAACMS0703.eamcs.ericsson.se> <m362v6da0o.fsf@fleche.redhat.com> <F7CE05678329534C957159168FA70DEC572E0C0DE9@EUSAACMS0703.eamcs.ericsson.se> <m3mxoh8tu2.fsf@fleche.redhat.com>
> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Tuesday, December 07, 2010 10:51 AM
> To: Marc Khouzam
> Cc: 'Jan Kratochvil'; 'gdb@sourceware.org'
> Subject: Re: Using telnet to control a running GDB
>
> >>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
>
> Jan> [ You should have more experience with async/non-stop/MI than
> Jan> me, though. ]
>
> Marc> We don't always use aync/non-stop in Eclipse. It is up to the
> Marc> user to decide.
>
> Tom> I am curious to know why Eclipse works this way.
>
> Marc> From the discussions I have seen about non-stop, it seems some
> Marc> user feel the all-stop mode is more intuitive, while
> others prefer
> Marc> non-stop.
>
> Ok, thanks.
>
> I am usually confused about all the modes that gdb supports. Your
> explanation of non-stop makes sense to me. This has user-visible
> effects and could be "weird", especially if you are used to all-stop.
>
> And, I imagine that the reason for not always using async is just that
> it isn't universally supported -- you want to handle older
> GDB versions,
> and even with current GDB I suppose it is not supported by
> all targets.
> Is that the situation?
Yes, we try to provide an Eclipse frontend for different people,
and some of them only have access to an older GDB for their target.
>
> TBH I think it would be better if we could remove some modes. For
> example, if we could make target-async either the default, or enabled
> automatically if the user uses some async command.
>
> Tom
>