[PATCH] Add tab completion for TUI's "focus" command

Pedro Alves palves@redhat.com
Tue Jun 23 16:52:00 GMT 2015


On 06/23/2015 03:54 PM, Doug Evans wrote:

> I tried "focus cmd" and "focus src" at the start of a gdb session and
> they worked.
> I also tried "focus asm" and got a complaint of an invalid window.
> So I'd say sure, add cmd and src to the completion list
> even if TUI isn't initialized, since the command will work
> as expected. I'd add a comment to the code describing
> why they're being unconditionally added.
> 
> Adding next and prev when TUI hasn't been initialized
> are kinda the odd ones out, conceptually, but they
> too "work" (so I'm not suggesting removing them).

Fully agreed.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list