Add tests for new alias default-args related commands and arguments.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sun, 23 Jun 2019 21:13:57 +0000 (23:13 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 22 Jun 2020 19:15:14 +0000 (21:15 +0200)
commit746ebfe8dd7aa7d9ec8e9651871f6e11fbf14537
treeaee6d1a0ac1a0c08d1e9cc8ec55eca0268ff1881
parentcf00cd6faf31c208bbfe107140c26895412214bb
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.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/alias.exp
gdb/testsuite/gdb.base/default-args.c [new file with mode: 0644]
gdb/testsuite/gdb.base/default-args.exp [new file with mode: 0644]
gdb/testsuite/gdb.base/default.exp
gdb/testsuite/gdb.base/help.exp
gdb/testsuite/gdb.base/page.exp
gdb/testsuite/gdb.base/style.exp
gdb/testsuite/gdb.guile/guile.exp
gdb/testsuite/gdb.python/python.exp