This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC] win32-nat.c 'set new-console' and interruption
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Christopher Faylor
> Envoyé?: Sunday, June 22, 2008 5:18 AM
> À?: gdb-patches@sourceware.org; Pierre Muller
> Objet?: Re: [RFC] win32-nat.c 'set new-console' and interruption
>
> On Sat, Jun 21, 2008 at 08:36:48PM +0200, Corinna Vinschen wrote:
> >On Jun 21 13:21, Daniel Jacobowitz wrote:
> >> On Sat, Jun 21, 2008 at 01:05:21PM -0400, Christopher Faylor wrote:
> >> > 2. What is newconsole good for? I never use it and wonder if it
> >> > shouldn't just be nuked. My usual refrain applies here: Is there
> >> > anything similar in regular gdb?
> >>
> >> I believe this is similar to "set inferior-tty", though I'm not sure
> >> exactly what the Windows version does.
> >
> >It starts the inferior in a new console window, different from the
> >console window GDB is running in. It's quite similar to what "set
> >inferior-tty" is for.
>
> So it actually is useful and used then?
Under the Free Pascal IDE (project on which I
worked for quite some time) I placed the
new-console as an equivalent of the 'set tty'
and it is much easier to have the debuggee to run in a separate console
that to do all the switching back and forth of all console parameters.
I run gdb mainly in that mode for cygwin,
but the lack of capability of interrupting the
debuggee from the GDB console was annoying me for a long time already!
I will resend a new patch proposal that complies with
the lowercase coding standard rule shortly.
Pierre Muller
Pascal language support maintainer for GDB