Reporting of "program no longer exists"
Daniel Jacobowitz
drow@false.org
Sun Oct 15 19:54:00 GMT 2006
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
More information about the Gdb-patches
mailing list