From 3cd25174b88a10474131573dda6c15d09cb3031e Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 29 Apr 2022 18:07:54 +0100 Subject: [PATCH] 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. --- gdb/testsuite/gdb.mi/mi-break-qualified.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.30.2