aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-10-08 10:09:31 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-11-19 00:37:20 +0000
commit30d0a63681c24106d4ea3239be4bbd72a0b67646 (patch)
tree27639a84f195ea7a08603dc67f32455ec8cd69db /ltsugar.m4
parent494409bb8a043b259435ad5034c66aa3fee15f52 (diff)
downloadgdb-30d0a63681c24106d4ea3239be4bbd72a0b67646.zip
gdb-30d0a63681c24106d4ea3239be4bbd72a0b67646.tar.gz
gdb-30d0a63681c24106d4ea3239be4bbd72a0b67646.tar.bz2
gdb/testsuite: Introduce skip_ctf_tests guard function
Most versions of GCC in the wild don't support CTF debug format right now, so, rather than attempting to compile the tests and failing each time, this patch introduces a guard function to check if the compiler supports CTF. If we don't have CTF support then the CTF tests are skipped. This patch only updates 3 of the 4 CTF tests, the fourth will be handled in the next patch. gdb/testsuite/ChangeLog: * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in the compiler. Clean up header comment a little. * gdb.base/ctf-ptype.exp: Likewise. * gdb.base/ctf-whatis.exp: Likewise. * lib/gdb.exp (skip_ctf_tests): New proc. Change-Id: I505c11169a9bc9871a31fc0c61e119f92f32cc63
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions