]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: enable gdb.base/sect-cmd.exp test for all targets
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 19 Feb 2021 16:57:05 +0000 (16:57 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 24 Feb 2021 16:58:03 +0000 (16:58 +0000)
commitb91919ac8b5550451093f232a596dfe52a71536c
treebeb23610ed588c49d3670c12ac3cb5096e164124
parent19cf757a87d4ad1300f3de1e5c9bcb675e0ef331
gdb/testsuite: enable gdb.base/sect-cmd.exp test for all targets

During review of the next patch (which changes the 'section' command),
a bug was pointed out.  I wondered why no tests spotted this bug and I
found that the 'section' command test (sect-cmd.exp) is only run on
hppa targets!

In this commit I have given this test script a bit of a spring clean,
bringing it up to date with current testsuite style.  I have made some
of the patterns a little more robust, but in general my intention was
not to change the underlying meaning of any of these tests.

gdb/testsuite/ChangeLog:

* gdb.base/sect-cmd.exp: Rewrite using modern testsuite
techniques.  Enable the test for all targets.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/sect-cmd.exp