Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: toolchain-devel@blackfin.uclinux.org, gdb-patches@sourceware.org
Subject: Re: [toolchain-devel] [PATCH] gdb: sim: add command line completion
Date: Tue, 19 Apr 2011 17:13:00 -0000	[thread overview]
Message-ID: <m362qa5fmq.fsf@fleche.redhat.com> (raw)
In-Reply-To: <BANLkTinzvQ6+UX5fOk5=1uddTwxm9uaW=A@mail.gmail.com> (Mike	Frysinger's message of "Thu, 14 Apr 2011 23:44:06 -0400")

>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> side note that i meant to ask about earlier, i noticed that i cant
Mike> complete things that have a dash in its name.  seems because of
Mike> readline having this marked as a word break char (which is
Mike> understandable as it is usually used in math expressions).  any way
Mike> around this ?

I never remember exactly what happens here, I always have to look it up
or debug by hand.

Look for rl_completer_word_break_characters, maybe.
Also I think you can handle the completion differently by examining the
full `text' argument, though, again, I always have to look this up to
figure out what it all means.

Tom


  reply	other threads:[~2011-04-19 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 23:32 Mike Frysinger
2011-04-14 20:02 ` Tom Tromey
2011-04-15  3:44   ` [toolchain-devel] " Mike Frysinger
2011-04-19 17:13     ` Tom Tromey [this message]
2011-04-15  3:20 ` [PATCH v2] " Mike Frysinger
2011-04-16 11:40   ` Richard Earnshaw
2011-04-16 18:33     ` Mike Frysinger

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=m362qa5fmq.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=toolchain-devel@blackfin.uclinux.org \
    --cc=vapier@gentoo.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