This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]