From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13085 invoked by alias); 15 May 2006 21:33:56 -0000 Received: (qmail 13075 invoked by uid 22791); 15 May 2006 21:33:55 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 May 2006 21:33:52 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 2005E48CC01; Mon, 15 May 2006 17:33:50 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13261-01-8; Mon, 15 May 2006 17:33:49 -0400 (EDT) Received: from takamaka.act-europe.fr (s142-179-108-108.bc.hsia.telus.net [142.179.108.108]) by nile.gnat.com (Postfix) with ESMTP id C58FB48CBFD; Mon, 15 May 2006 17:33:49 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 5340C47E7F; Mon, 15 May 2006 14:33:46 -0700 (PDT) Date: Mon, 15 May 2006 21:52:00 -0000 From: Joel Brobecker To: Bob Rossi Cc: PAUL GILLIAM , gdb@sourceware.org Subject: Re: invoking GDB from FE and signals Message-ID: <20060515213346.GP6718@adacore.com> References: <20060513151026.GD10678@brasko.net> <20060513151057.GA4112@nevyn.them.org> <20060513152021.GE10678@brasko.net> <20060513154816.GA5022@nevyn.them.org> <1147712871.3672.153.camel@dufur.beaverton.ibm.com> <20060515181821.GA18932@brasko.net> <20060515191714.GA5918@nevyn.them.org> <20060515194313.GA21608@brasko.net> <1147719922.3672.159.camel@dufur.beaverton.ibm.com> <20060515201236.GC21608@brasko.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060515201236.GC21608@brasko.net> User-Agent: Mutt/1.4i 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/msg00228.txt.bz2 > > 2) Danial is not asking you to send a signal to a pty, he is asking you > > to send a signal to GDB's inferior *via* the pty, by using an ioctl > > function and suggesting that code exists in EMACS to do just that. > > Whoa, that's interesting. Just for FYI, GPS simple reused the code from Emacs, and it works great. We where able to port it to new unix architectures with minimal amounts or changes. So I would suggest trying to replace your code that uses pipes, use the emacs code plugged in instead, and see where that gets you. We have no problem sending interrupt events to GDB, even on Windows and MacOS. -- Joel