Adjust command completion output when TUI is disabled
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 23 Jun 2020 16:33:31 +0000 (09:33 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Tue, 23 Jun 2020 16:33:31 +0000 (09:33 -0700)
commitbb8d126033bc7982808323da80ac8649e27bb3eb
tree030c1170a28ee778b642c96aa57b6561b403be8e
parentd0dded5bc251e506ef65b13696c624ea8669ed6e
Adjust command completion output when TUI is disabled

The history-scrolling commands "+", "-", "<" and ">" are only known to
GDB when TUI is enabled.  This means the "complete pipe " command
produces different output depending on whether TUI is present, which
in turn caused

FAIL: gdb.base/shell.exp: cmd complete "pipe "

This patch provides different patterns for that test depending on
whether or not TUI is available.

2020-06-23  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* lib/completion-support.exp (test_gdb_completion_offers_commands):
Adjust for omitted commands when TUI is disabled.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/completion-support.exp
This page took 0.02445 seconds and 4 git commands to generate.