From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20575 invoked by alias); 23 Jun 2008 07:18:01 -0000 Received: (qmail 20560 invoked by uid 22791); 23 Jun 2008 07:17:59 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jun 2008 07:17:39 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id m5N7Ha2A097521 for ; Mon, 23 Jun 2008 09:17:36 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402::142]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id m5N7HaUR067176 for ; Mon, 23 Jun 2008 09:17:36 +0200 (CEST) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) by mailserver.u-strasbg.fr (8.13.8/jtpda-5.5pre1) with ESMTP id m5N7HWMm048504 for ; Mon, 23 Jun 2008 09:17:36 +0200 (CEST) From: "Pierre Muller" To: References: <000001c8d330$0c6b51f0$2541f5d0$@u-strasbg.fr> <20080621170521.GB2470@ednor.casa.cgf.cx> <20080621172115.GA2033@caradoc.them.org> <20080621183648.GV20180@calimero.vinschen.de> <20080622031804.GB4200@ednor.casa.cgf.cx> In-Reply-To: <20080622031804.GB4200@ednor.casa.cgf.cx> Subject: RE: [RFC] win32-nat.c 'set new-console' and interruption Date: Mon, 23 Jun 2008 07:40:00 -0000 Message-ID: <000101c8d501$3882d100$a9887300$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (mailhost.u-strasbg.fr [IPv6:2001:660:2402::155]); Mon, 23 Jun 2008 09:17:36 +0200 (CEST) X-Virus-Status: Clean Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00376.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Christopher Faylor > Envoy=E9=A0: Sunday, June 22, 2008 5:18 AM > =C0=A0: gdb-patches@sourceware.org; Pierre Muller > Objet=A0: Re: [RFC] win32-nat.c 'set new-console' and interruption >=20 > 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. >=20 > So it actually is useful and used then? Under the Free Pascal IDE (project on which I=20 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