public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Command completion for 'layout' command.
@ 2015-04-07  8:09 Andrew Burgess
  2015-04-07  8:09 ` [PATCH 2/2] gdb: Add completer for layout command Andrew Burgess
  2015-04-07  8:09 ` [PATCH 1/2] gdb/testsuite: New skip_tui_tests predicate Andrew Burgess
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Burgess @ 2015-04-07  8:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

These patches are an attempt to add command completion to the "layout"
command, completing the possible layout names.

This is made slightly harder as some of the layout names include the
'$' character, which usually counts as a word break character.

The first patch just adds some extra infrastructure to the testsuite
library to make testing the second patch easier.

The second patch adds the command completion.  The '$' issue makes the
patch messier that I'd hoped, I'd be happy to take suggestions on
possible improvements.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdb/testsuite: New skip_tui_tests predicate.
  gdb: Add completer for layout command.

 gdb/ChangeLog                         | 13 +++++++++
 gdb/completer.c                       | 18 +++++++++---
 gdb/completer.h                       |  4 +++
 gdb/testsuite/ChangeLog               | 10 +++++++
 gdb/testsuite/gdb.base/completion.exp | 18 ++++++++++++
 gdb/testsuite/gdb.base/tui-layout.exp |  7 +++++
 gdb/testsuite/lib/gdb.exp             | 15 ++++++++++
 gdb/tui/tui-layout.c                  | 53 +++++++++++++++++++++++++++++++++--
 8 files changed, 132 insertions(+), 6 deletions(-)

-- 
2.2.2

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

end of thread, other threads:[~2015-05-21  0:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07  8:09 [PATCH 0/2] Command completion for 'layout' command Andrew Burgess
2015-04-07  8:09 ` [PATCH 2/2] gdb: Add completer for layout command Andrew Burgess
2015-05-19 13:38   ` Pedro Alves
2015-05-20 23:22     ` Andrew Burgess
2015-05-21  0:19       ` Keith Seitz
2015-04-07  8:09 ` [PATCH 1/2] gdb/testsuite: New skip_tui_tests predicate Andrew Burgess
2015-05-19 13:38   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).