This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [toolchain-devel] [PATCH] gdb: sim: add command line completion
>>>>> "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