aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/gdbindex-stabs.c
diff options
context:
space:
mode:
authorGuinevere Larsen <guinevere@redhat.com>2025-02-04 10:19:57 -0300
committerGuinevere Larsen <guinevere@redhat.com>2025-03-26 17:18:56 -0300
commit043975ad0a1c68719ae3219023a0813386f4681d (patch)
tree83bde1de9288b2df7255e7253cdc8af558e670e3 /gdb/testsuite/gdb.base/gdbindex-stabs.c
parenta8373e160b7912628ab70f97c5a336d2375480b3 (diff)
downloadbinutils-043975ad0a1c68719ae3219023a0813386f4681d.zip
binutils-043975ad0a1c68719ae3219023a0813386f4681d.tar.gz
binutils-043975ad0a1c68719ae3219023a0813386f4681d.tar.bz2
gdb/testsuite: Force DWARF debuginfo where applicable in AIX systems
In the AIX systems available for testing in the gcc compile farm, the default debug information format is stabs. This is a problem for many reasons, mainly that stabs is not as complete as dwarf and stabs is being deprecated in the next release. In the current state, we have: PASS: 39798 FAIL: 7405 When running these tests, I unfortunately didn't have the foresight to save the number of unsupported and untested cases. To improve testing there, this patch changes the gdb_compile TCL proc, so that if we're running tests in AIX, we requested debug info, and we haven't explicitly asked for some debuginfo format, gdb_compile will add -gdwarf to the compilation line, forcing DWARF to be used. After this patch, we get: PASS: 74548 FAIL: 5963 So not only do we have fewer failures, there are tens of thousands of tests that are no longer skipped. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.base/gdbindex-stabs.c')
0 files changed, 0 insertions, 0 deletions