Use ordinary calling convention for clean_restart
authorTom Tromey <tom@tromey.com>
Wed, 25 Jan 2023 16:25:36 +0000 (09:25 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 27 Jan 2023 01:28:31 +0000 (18:28 -0700)
commit6b9276b7e6905547233638c2c01b723ac7bde821
treec6433d53188c4f3ddfedfe3b9123d11bf31a91d6
parent3efac389d82e0b2917ebd98c739df413618ad3f1
Use ordinary calling convention for clean_restart

clean_restart accepts a single optional argument.  Rather than using
{args} and handling the argument by hand, change it to use Tcl's own
argument-checking.
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/mi-support.exp