public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: small cleanup in mi-break-qualified.exp
@ 2022-05-03  9:49 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2022-05-03  9:49 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3cd25174b88a10474131573dda6c15d09cb3031e

commit 3cd25174b88a10474131573dda6c15d09cb3031e
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Fri Apr 29 18:07:54 2022 +0100

    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:
---
 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
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-03  9:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03  9:49 [binutils-gdb] gdb/testsuite: small cleanup in mi-break-qualified.exp Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).