aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread-db.c
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-08-27 19:06:03 +0200
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-08-27 19:06:03 +0200
commit4e83a1e776c0acdaca9e69be9576db9efcd5f511 (patch)
tree67847f30cfd9bfcd58c85ac0e4493149bfcbabfa /gdb/linux-thread-db.c
parent1cb0b71f5a2e5b55e1c4b41fc308414572180893 (diff)
downloadgdb-4e83a1e776c0acdaca9e69be9576db9efcd5f511.zip
gdb-4e83a1e776c0acdaca9e69be9576db9efcd5f511.tar.gz
gdb-4e83a1e776c0acdaca9e69be9576db9efcd5f511.tar.bz2
Report UNRESOLVED on failures while detecting Cell/B.E.
The gdb.cell testcases use the predicate skip_cell_tests defined in lib/cell.exp to determine whether Cell/B.E. test cases ought to be run. This tests verifies that we have a toolchain that supports generating combined Cell/B.E. binaries, and that the target machine actually is a Cell/B.E. In order to do so, a small test program is built and run (under the debugger). Any failure is taken as a sign that we don't have a Cell/B.E. machine and the tests are to be skipped. This has the unfortunate effect that a serious bug in GDB that causes internal compiler errors even on the trivial test program does not lead to any failures in the testsuite, since now all gdb.cell test are simply skipped. This patch changes skip_cell_tests to at least report UNRESOLVED in cases where execution of the test program fails in unexpected ways. testsuite/ChangeLog: * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected failures to run the test program under GDB.
Diffstat (limited to 'gdb/linux-thread-db.c')
0 files changed, 0 insertions, 0 deletions