From: Andrew Burgess Date: Fri, 29 Apr 2022 17:07:54 +0000 (+0100) Subject: gdb/testsuite: small cleanup in mi-break-qualified.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cd25174b88a10474131573dda6c15d09cb3031e;p=binutils-gdb.git gdb/testsuite: small cleanup in mi-break-qualified.exp It is not necessary to pass an empty string to mi_gdb_start, passing the empty string is equivalent to passing no arguments, which is what we do everywhere else (that we don't need to specify an actual argument). The only place we use 'mi_gdb_start ""' is in gdb.mi/mi-break-qualified.exp, so in this commit I just replace that with a call to 'mi_gdb_start' - just for consistency. There should be no change in what is tested after this commit. --- diff --git a/gdb/testsuite/gdb.mi/mi-break-qualified.exp b/gdb/testsuite/gdb.mi/mi-break-qualified.exp index ff37950fd76..ca6df0782df 100644 --- a/gdb/testsuite/gdb.mi/mi-break-qualified.exp +++ b/gdb/testsuite/gdb.mi/mi-break-qualified.exp @@ -95,7 +95,7 @@ proc test_break_qualified {} { mi_gdb_exit -if [mi_gdb_start ""] { +if [mi_gdb_start] { return }