Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: nickrob@snap.net.nz, ghost@cs.msu.su, gdb-patches@sources.redhat.com
Subject: Re: Reporting of "program no longer exists"
Date: Sun, 15 Oct 2006 20:55:00 -0000	[thread overview]
Message-ID: <uvemlqoyg.fsf@gnu.org> (raw)
In-Reply-To: <20061015195415.GA23211@nevyn.them.org> (message from Daniel 	Jacobowitz on Sun, 15 Oct 2006 15:54:15 -0400)

> Date: Sun, 15 Oct 2006 15:54:15 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Vladimir Prus <ghost@cs.msu.su>, gdb-patches@sources.redhat.com
> >  > 
> >  > 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.

You are both right.  When Emacs runs on a tty, it reprograms the
keyboard to generate SIGINT on C-g instead of C-c, and the SIGINT
handler calls keyboard-quit.  That is why .gdbinit that comes with
Emacs passes SIGINT down to Emacs.


      parent reply	other threads:[~2006-10-15 20:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200610142033.16596.ghost@cs.msu.su>
     [not found] ` <20061014163911.GA16728@nevyn.them.org>
     [not found]   ` <17713.20182.174863.175193@kahikatea.snap.net.nz>
     [not found]     ` <20061014210523.GA23445@nevyn.them.org>
     [not found]       ` <17713.50027.927642.379449@kahikatea.snap.net.nz>
     [not found]         ` <20061015154128.GA14607@nevyn.them.org>
2006-10-15 19:47           ` Nick Roberts
2006-10-15 19:54             ` Daniel Jacobowitz
2006-10-15 20:28               ` Nick Roberts
2006-10-15 20:55               ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uvemlqoyg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox