[v4,0/6] Fixes to gdb.threads/threadcrash.exp

Message ID 20240308093342.26745-1-tdevries@suse.de
Headers
Series Fixes to gdb.threads/threadcrash.exp |

Message

Tom de Vries March 8, 2024, 9:33 a.m. UTC
  The test was recently pushed to master but it had a couple of small issues.
This is a quick series to fix the major issues.

Tested on arm-linux and x86_64-linux.

Changes for v4:
* added patch to remove unnecessary indentation
* added patch to simplify test_list usage
* added patch to fix check-readmore issues
* split off patch with _inferior_thread_count fix
* updated patch "Reduce gdb.threads/threadcrash.exp reliance on libc symbols"
  to allow matching of libc symbols, if they're available.
* updated kfail patch to be both more specific, and only emit the kfail it it
  actually triggers.

Changes for v3:
* use get_valueof to get thread count, to stop a failure on Linaro's CI.

Changes for v2:
* changed xfail from patch 1 to a kfail

Guinevere Larsen (2):
  gdb/testsuite: Use _inferior_thread_count in
    gdb.threads/threadcrash.exp
  gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc
    symbols

Tom de Vries (4):
  gdb/testsuite: Reduce indentation in gdb.threads/threadcrash.exp
  gdb/testsuite: Fix gdb.threads/threadcrash.exp with check-readmore
  gdb/testsuite: Simplify gdb.threads/threadcrash.exp
  gdb/testsuite: Add kfail in gdb.threads/threadcrash.exp on 32-bit arm
    targets

 gdb/testsuite/gdb.threads/threadcrash.exp | 236 ++++++++++++++--------
 1 file changed, 150 insertions(+), 86 deletions(-)


base-commit: 5b95198e2e40b0301d37d989edc344a334c26b12