diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-11-14 11:39:14 +0000 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-11-28 21:04:09 +0000 |
commit | 75b6f3866450afa1219ca986910619302f7effb7 (patch) | |
tree | 755c81285b6f3de074fdc7ebd3a97a31807cdb37 /gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp | |
parent | 65a33d75c2667895f067cc5f9079215126cbb2eb (diff) | |
download | gdb-75b6f3866450afa1219ca986910619302f7effb7.zip gdb-75b6f3866450afa1219ca986910619302f7effb7.tar.gz gdb-75b6f3866450afa1219ca986910619302f7effb7.tar.bz2 |
gdb/testsuite: remove use of then keyword from gdb.arch/*.exp
The canonical form of 'if' in modern TCL is 'if {} {}'. But there's
still a bunch of places in the testsuite where we make use of the
'then' keyword, and sometimes these get copies into new tests, which
just spreads poor practice.
This commit removes all use of the 'then' keyword from the gdb.arch/
test script directory.
There should be no changes in what is tested after this commit.
Diffstat (limited to 'gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp')
-rw-r--r-- | gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp b/gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp index a2d5a17..5d4581b 100644 --- a/gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp +++ b/gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp @@ -20,7 +20,7 @@ # values, then write to the registers trough GDB, step once, and check # again if we read back the same values. -if {![istarget "powerpc*-*-linux*"]} then { +if {![istarget "powerpc*-*-linux*"]} { verbose "Skipping PowerPC test for PPR and DSCR registers." return } |