diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/completion.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/completion.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp index 1c5d03b..14d56a5 100644 --- a/gdb/testsuite/gdb.base/completion.exp +++ b/gdb/testsuite/gdb.base/completion.exp @@ -962,3 +962,9 @@ foreach_with_prefix cmd { "watch" "awatch" "rwatch" } { } } } + +# Check that tab completion of a deprecated alias does not display the +# warning about the alias being deprecated during tab completion. +gdb_test_no_output "alias xxx_yyy_zzz=break" +gdb_test_no_output "maint deprecate xxx_yyy_zzz" +test_gdb_complete_unique "xxx_yyy_" "xxx_yyy_zzz" |