From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15590 invoked by alias); 15 Oct 2006 19:54:23 -0000 Received: (qmail 15581 invoked by uid 22791); 15 Oct 2006 19:54:22 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 15 Oct 2006 19:54:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GZC3r-00062z-9W; Sun, 15 Oct 2006 15:54:15 -0400 Date: Sun, 15 Oct 2006 19:54:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: Reporting of "program no longer exists" Message-ID: <20061015195415.GA23211@nevyn.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb-patches@sources.redhat.com References: <200610142033.16596.ghost@cs.msu.su> <20061014163911.GA16728@nevyn.them.org> <17713.20182.174863.175193@kahikatea.snap.net.nz> <20061014210523.GA23445@nevyn.them.org> <17713.50027.927642.379449@kahikatea.snap.net.nz> <20061015154128.GA14607@nevyn.them.org> <17714.36770.10163.719995@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17714.36770.10163.719995@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00168.txt.bz2 On Mon, Oct 16, 2006 at 08:44:34AM +1300, Nick Roberts wrote: > > > If I apply the patch below (from gdb-6.3-ia64-sigill-20051115.patch, a patch > > > for Fedora Core 5) I get: > > > > > > (gdb) r > > > Starting program: /home/nickrob/emacs/src/emacs -geometry 80x40+0+0 > > > [Thread debugging using libthread_db enabled] > > > [New Thread -1208269120 (LWP 8067)] > > > [Switching to Thread -1208269120 (LWP 8067)] > > > Breakpoint 3 at 0x80f654b: file xterm.c, line 7833. > > > > > > Program terminated with signal SIGINT, Interrupt. > > > The program no longer exists. > > > (gdb) > > > > If you type Control-C, why did it kill emacs? Shouldn't it break in > > the debugger, and then let you resume? > > Emacs uses Control-C to for keyboard-quit (at least in the terminal version) so > its .gdbinit has the line: > > handle 2 noprint pass Now I'm majorly confused; C-c is a prefix command in every emacs I've ever used. Anyway, I was just making sure that emacs exiting was what you wanted to happen when you hit C-c, so that's OK. > OK, I've done this with Jeff's name on the ChangeLog. Thanks a lot. -- Daniel Jacobowitz CodeSourcery