| Summary: | [gdb/testsuite] FAIL: gdb.base/vfork-follow-parent.exp: resolution_method=schedule-multiple: inferior 1 (timeout) | ||
|---|---|---|---|
| Product: | gdb | Reporter: | Tom de Vries <vries> |
| Component: | testsuite | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HEAD | ||
| Target Milestone: | 15.1 | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
|
Description
Tom de Vries
2023-12-14 08:52:09 UTC
(In reply to Tom de Vries from comment #0) > I have not been able to reproduce this outside of OBS yet. Managed to reproduce using taskset -c 0: ... FAIL: gdb.base/vfork-follow-parent.exp: exec_file=vfork-follow-parent-exit: target-non-stop=on: non-stop=off: resolution_method=schedule-multiple: inferior 1 (timeout) FAIL: gdb.base/vfork-follow-parent.exp: exec_file=vfork-follow-parent-exit: target-non-stop=off: non-stop=off: resolution_method=schedule-multiple: inferior 1 (timeout) ... The master branch has been updated by Tom de Vries <vries@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ccc6caf4906036f8d5778fd5a412a199621745e commit 6ccc6caf4906036f8d5778fd5a412a199621745e Author: Tom de Vries <tdevries@suse.de> Date: Mon Jan 8 13:01:50 2024 +0100 [gdb/testsuite] Add missing -no-prompt-anchor in gdb.base/vfork-follow-parent.exp When running test-case gdb.base/vfork-follow-parent.exp it passes fine, but when running it with "taskset -c 0" I run into: ... (gdb) inferior 1^M [Switching to inferior 1 [process 26606] (vfork-follow-parent-exit)]^M [Switching to thread 1.1 (process 26606)]^M (gdb) Reading symbols from vfork-follow-parent-exit...^M FAIL: $exp: exec_file=vfork-follow-parent-exit: target-non-stop=on: \ non-stop=off: resolution_method=schedule-multiple: inferior 1 (timeout) ... Fix this by using -no-prompt-anchor. Tested on x86_64-linux. PR testsuite/31166 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31166 Fixed. |