aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-06-23 23:13:57 +0200
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2020-06-22 21:15:14 +0200
commit746ebfe8dd7aa7d9ec8e9651871f6e11fbf14537 (patch)
treeaee6d1a0ac1a0c08d1e9cc8ec55eca0268ff1881 /gdb/testsuite/gdb.python
parentcf00cd6faf31c208bbfe107140c26895412214bb (diff)
downloadgdb-746ebfe8dd7aa7d9ec8e9651871f6e11fbf14537.zip
gdb-746ebfe8dd7aa7d9ec8e9651871f6e11fbf14537.tar.gz
gdb-746ebfe8dd7aa7d9ec8e9651871f6e11fbf14537.tar.bz2
Add tests for new alias default-args related commands and arguments.
Test the new default-args behaviour and completion for the alias command. Note that gdb.base/default-args.exp is somewhat copied from with.exp (the test of the with command), while default-exp.c is a plain copy of with.c. gdb/testsuite/ChangeLog 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be> * gdb.base/default-args.exp: New test. * gdb.base/default-args.c: New file. * gdb.base/alias.exp: Update expected error msg for alias foo=bar. * gdb.base/default.exp: Update to new help text. * gdb.base/help.exp: Likewise. * gdb.base/page.exp: Likewise. * gdb.base/style.exp: Likewise. * gdb.guile/guile.exp: Likewise. * gdb.python/python.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/python.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp
index a50a7b4..a751787 100644
--- a/gdb/testsuite/gdb.python/python.exp
+++ b/gdb/testsuite/gdb.python/python.exp
@@ -187,7 +187,7 @@ gdb_test_no_output "set height 0"
gdb_test_no_output "python a = gdb.execute('help', to_string=True)" "collect help from uiout"
-gdb_test "python print (a)" ".*aliases -- Aliases of other commands.*" "verify help to uiout"
+gdb_test "python print (a)" ".*aliases -- User-defined aliases of other commands.*" "verify help to uiout"
# Test PR 12212, using InfThread.selected_thread() when no inferior is
# loaded.