diff options
author | Tom de Vries <tdevries@suse.de> | 2024-07-29 14:05:52 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-07-29 14:05:52 +0200 |
commit | 312aea764b7b8ad621da601f4a88c859ccbcf12a (patch) | |
tree | ccf54442aef6556adf30070ba5ca944b818c9f78 | |
parent | 685404e6335fb70dd2e29179829d9119584a303a (diff) | |
download | binutils-312aea764b7b8ad621da601f4a88c859ccbcf12a.zip binutils-312aea764b7b8ad621da601f4a88c859ccbcf12a.tar.gz binutils-312aea764b7b8ad621da601f4a88c859ccbcf12a.tar.bz2 |
[gdb/testsuite] Remove PR31554 kfail in gdb.threads/leader-exit-attach.exp
When running test-case gdb.threads/leader-exit-attach.exp with target board
native-extended-gdbserver I run into:
...
(gdb) KFAIL: $exp: attach (PRMS: gdb/31555)
print $_inferior_thread_count^M
$1 = 0^M
(gdb) KPASS: $exp: get valueof "$_inferior_thread_count" (PRMS server/31554)
...
The PR mentioned in the KPASS, PR31554 was fixed by commit f1fc8dc2dcc
("Fix "attach" failure handling with GDBserver"), and consequently the PR is
closed.
Fix this by removing the corresponding kfail.
Tested on x86_64-linux.
-rw-r--r-- | gdb/testsuite/gdb.threads/leader-exit-attach.exp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.threads/leader-exit-attach.exp b/gdb/testsuite/gdb.threads/leader-exit-attach.exp index a1bc2d4..5334de2 100644 --- a/gdb/testsuite/gdb.threads/leader-exit-attach.exp +++ b/gdb/testsuite/gdb.threads/leader-exit-attach.exp @@ -59,14 +59,6 @@ gdb_test_multiple "attach $testpid" "attach" { } } -# With gdbserver, after we failed to attach, we hit PR server/31554: -# print $_inferior_thread_count -# Remote connection closed -# (gdb) KFAIL: gdb.threads/leader-exit-attach.exp: get valueof "$_inferior_thread_count" -if {!$attached && $is_gdbserver} { - setup_kfail "server/31554" "*-*-*" -} - set thread_count [get_valueof "" "\$_inferior_thread_count" -1] if {$thread_count == -1} { |