diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-17 16:27:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-17 16:27:35 +0000 |
commit | db2b2972f1ecb46c80dffbcf4630b1027e5ba529 (patch) | |
tree | 3a58af0a4f7abc82b1745e34a2ae778d4ec7b78d /gdb/testsuite | |
parent | f5555712ba2c20a6fd30b789e497009646a4638d (diff) | |
download | gdb-db2b2972f1ecb46c80dffbcf4630b1027e5ba529.zip gdb-db2b2972f1ecb46c80dffbcf4630b1027e5ba529.tar.gz gdb-db2b2972f1ecb46c80dffbcf4630b1027e5ba529.tar.bz2 |
* cp-abi.c (cp_abi_completer): New function.
(_initialize_cp_abi): Set completer for "set cp-abi".
gdb/testsuite
* gdb.base/completion.exp: Add "set cp-abi" completion test.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/completion.exp | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7f5f0a4..7fb73a5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-17 Tom Tromey <tromey@redhat.com> + + * gdb.base/completion.exp: Add "set cp-abi" completion test. + 2013-01-17 Pedro Alves <palves@redhat.com> Merge dg-extract-results.sh from upstream (svn 195224). diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp index 8163a86..fc90a20 100644 --- a/gdb/testsuite/gdb.base/completion.exp +++ b/gdb/testsuite/gdb.base/completion.exp @@ -710,6 +710,9 @@ gdb_test "complete ptype union some_" "ptype union some_union" gdb_test "complete set gnutarget aut" "set gnutarget auto" + +gdb_test "complete set cp-abi aut" "set cp-abi auto" + # Restore globals modified in this test... set timeout $oldtimeout1 |