Use support_nested_function_tests in gdb.base/nested-subp1.exp et al
authorGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 16:00:47 +0000 (17:00 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 16:00:47 +0000 (17:00 +0100)
commit9b2c992cfa4e9911d3b54c21ced179aa4928c422
treea9087fd0ad07220ef9bee212696bb675dd516805
parentb5d1d6f7b70a0086a915c0d04c28a4db91161057
Use support_nested_function_tests in gdb.base/nested-subp1.exp et al

This commit updates gdb.base/nested-subp[1-3].exp to determine
whether whether nested functions are supported using the function
support_nested_function_tests.

gdb/testsuite/ChangeLog:

* gdb.base/nested-subp1.exp: Use support_nested_function_tests.
* gdb.base/nested-subp2.exp: Likewise.
* gdb.base/nested-subp3.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/nested-subp1.exp
gdb/testsuite/gdb.base/nested-subp2.exp
gdb/testsuite/gdb.base/nested-subp3.exp