From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11537 invoked by alias); 13 May 2006 15:09:49 -0000 Received: (qmail 11489 invoked by uid 22791); 13 May 2006 15:09:48 -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; Sat, 13 May 2006 15:09:45 +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 <20060513150943.RKQI15797.eastrmmtao03.cox.net@localhost.localdomain> for ; Sat, 13 May 2006 11:09:43 -0400 Received: from bob by localhost.localdomain with local (Exim 4.52) id 1FevlC-0002hX-Gr for gdb@sources.redhat.com; Sat, 13 May 2006 11:10:26 -0400 Date: Sat, 13 May 2006 15:19:00 -0000 From: Bob Rossi To: gdb@sources.redhat.com Subject: Re: invoking GDB from FE and signals Message-ID: <20060513151026.GD10678@brasko.net> Mail-Followup-To: gdb@sources.redhat.com References: <20060513141920.GC10678@brasko.net> <20060513145421.GA3664@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060513145421.GA3664@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/msg00176.txt.bz2 On Sat, May 13, 2006 at 10:54:22AM -0400, Daniel Jacobowitz wrote: > On Sat, May 13, 2006 at 10:19:20AM -0400, Bob Rossi wrote: > > I recently had someone report to me that when my FE is started on a Mac > > and ^c is entered, I send the signal to GDB and it responds with > > "(Quit)" as expected. However, if GDB is running the inferior, and ^c is > > received, I send the 'kill' and GDB shuts down. > > Then I'm afraid you need to work out why that happened; speculating > about it is not going to get you much of anywhere. It depends on e.g. > job control. 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? Actually, having a PTY between the FE and GDB/MI would be slightly different than a pipe. It would make it so the user could never send certain chars to GDB without them being interpreted by the PTY. In other words, I don't mind finding the details, but I'd like to make sure I'm doing it the correct way first. Bob Rossi