This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Reporting of "program no longer exists"
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Sun, 15 Oct 2006 15:54:15 -0400
- Subject: Re: Reporting of "program no longer exists"
- 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>
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