Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Completion on symbols nonfunctional, gdb 7.8.1
@ 2016-02-29 16:00 Jonah Petri
  2016-02-29 16:54 ` Maciej W. Rozycki
  0 siblings, 1 reply; 6+ messages in thread
From: Jonah Petri @ 2016-02-29 16:00 UTC (permalink / raw)
  To: gdb

Hello!
Does anyone know why some gdbs (in this case 7.8.1, as built into a
yocto sdk) might not have working tab completion?

If I type "break wr" and then press <tab>, it does nothing.  However
gdb does know about the symbols!  To wit, if I type:
(gdb) complete b wr<return>
b write
b write@got.plt
b write@plt
b writer.h

So, the completions are there, but something is not hooked up
properly... Strangely, it seems that the tab key is hooked up to
something, as when I press <tab> from an empty gdb prompt, I get lots
of good completions, like "actions", "add-auto-load-safe-path", etc.
However, completion on symbols, like "write" above, seems to not work.

I never realized how much I depend on tab completion for productivity
while debugging, so any help would be much appreciated!

Thanks!
Jonah


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-01  0:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-29 16:00 Completion on symbols nonfunctional, gdb 7.8.1 Jonah Petri
2016-02-29 16:54 ` Maciej W. Rozycki
2016-02-29 17:13   ` Jonah Petri
2016-02-29 17:44     ` Maciej W. Rozycki
2016-02-29 20:49       ` Jonah Petri
2016-03-01  0:34         ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox