gdb/testsuite: Make use of exec_has_index_section function
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 31 Aug 2019 23:21:40 +0000 (00:21 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 13 Sep 2019 00:31:29 +0000 (20:31 -0400)
commit5fabdcd6801a4567db9c88ceb112ca222544b13f
treee23ae2e7f4e30fb96881c70a40ce94968a18fed6
parentaa17805fb9a3a1983a510ba425b682fba03410c2
gdb/testsuite: Make use of exec_has_index_section function

Make use of exec_has_index_section library function rather than
manually checking in the 'maintenance info sections' output.  Should
make no difference to the test results, just makes the code easier to
read.

gdb/testsuite/ChangeLog:

* gdb.base/maint.exp: Use exec_has_index_section.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp
This page took 0.023907 seconds and 4 git commands to generate.