From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24084 invoked by alias); 18 May 2006 01:40:38 -0000 Received: (qmail 24075 invoked by uid 22791); 18 May 2006 01:40:38 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao03.cox.net (HELO eastrmmtao03.cox.net) (68.230.240.36) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 May 2006 01:40:36 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao03.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060518014033.NJTB15797.eastrmmtao03.cox.net@localhost.localdomain> for ; Wed, 17 May 2006 21:40:33 -0400 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1FgXVE-00036L-38 for gdb@sources.redhat.com; Wed, 17 May 2006 21:40:36 -0400 Date: Thu, 18 May 2006 07:28:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: invoking GDB from FE and signals Message-ID: <20060518014035.GC27052@brasko.net> Mail-Followup-To: gdb@sources.redhat.com References: <20060513141920.GC10678@brasko.net> <20060513145421.GA3664@nevyn.them.org> <20060513151026.GD10678@brasko.net> <20060513151057.GA4112@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060513151057.GA4112@nevyn.them.org> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00272.txt.bz2 On Sat, May 13, 2006 at 11:10:57AM -0400, Daniel Jacobowitz wrote: > On Sat, May 13, 2006 at 11:10:26AM -0400, Bob Rossi wrote: > > OK, I can find out the details. However, I'm thinking the supported way > > of starting GDB from a FE is via a pipe. This would prevent readline > > from being in the way, and is the only way to do it with MI anyways, > > right? > > There's no such thing as "the supported way". There is something else I just discovered today. I think it's rather important. If you start GDB via a pipe, then it will not ask you questions like Make breakpoint pending on future shared library load? (y or [n]) or The program is running. Exit anyway? (y or n) instead, it will just assume the answer is yes. So, switching to a pty has other advantages that might not seem obvious at first. This could also be documented. Bob Rossi