public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb@sourceware.org
Subject: Is readline's SIGINT handler supposed to set quit_flag?
Date: Sun, 06 Nov 2011 20:29:00 -0000	[thread overview]
Message-ID: <20111106202852.151D1246194@ruffy.mtv.corp.google.com> (raw)

Hi.
While playing with tab-completion speedups I found that ^c never
sets quit_flag, and thus QUITs in completion routines are useless
(when invoked from readline).

Am I missing something?
[It's possible I messed up and quit_flag is indeed set,
but I'm not sure what I'm missing.]

Or is ^c when in readline not intended to invoke the QUIT machinery?
[It may be that more is needed to make it work, I'm just a bit surprised
and am looking for guidance on how things are expected to work.]

e.g.

(gdb) b functi<tab><^c>

Is that ^c intended to terminate all the symbol completion machinery?

             reply	other threads:[~2011-11-06 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 20:29 Doug Evans [this message]
2011-11-06 21:17 ` Jan Kratochvil

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=20111106202852.151D1246194@ruffy.mtv.corp.google.com \
    --to=dje@google.com \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).