public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug testsuite/31451] New: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt @ 2024-03-05 7:38 vries at gcc dot gnu.org 2024-03-14 10:13 ` [Bug testsuite/31451] " vries at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2024-03-05 7:38 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31451 Bug ID: 31451 Summary: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- On aarch64-linux (manjaro) I run into: ... (gdb) thread apply all bt^M ^M Thread 2 (Thread 0xffff8d8af120 (LWP 278116) "attach-stopped"):^M #0 0x0000ffff8d964864 in clock_nanosleep () from /usr/lib/libc.so.6^M #1 0x0000ffff8d969cac in nanosleep () from /usr/lib/libc.so.6^M #2 0x0000ffff8d969b68 in sleep () from /usr/lib/libc.so.6^M #3 0x0000aaaade370828 in func (arg=0x0) at /home/vries/gdb/src/gdb/testsuite/gdb.thread\ s/attach-stopped.c:29^M #4 0x0000ffff8d930aec in ?? () from /usr/lib/libc.so.6^M #5 0x0000ffff8d99a5dc in ?? () from /usr/lib/libc.so.6^M ^M Thread 1 (Thread 0xffff8db62020 (LWP 278111) "attach-stopped"):^M #0 0x0000ffff8d92d2d8 in ?? () from /usr/lib/libc.so.6^M #1 0x0000ffff8d9324b8 in ?? () from /usr/lib/libc.so.6^M #2 0x0000aaaade37086c in main () at /home/vries/gdb/src/gdb/testsuite/gdb.threads/attach-stopped.c:45^M (gdb) FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt ... -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/31451] [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt 2024-03-05 7:38 [Bug testsuite/31451] New: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt vries at gcc dot gnu.org @ 2024-03-14 10:13 ` vries at gcc dot gnu.org 2024-03-28 7:26 ` cvs-commit at gcc dot gnu.org 2024-03-28 7:27 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2024-03-14 10:13 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31451 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- https://sourceware.org/pipermail/gdb-patches/2024-March/207258.html -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/31451] [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt 2024-03-05 7:38 [Bug testsuite/31451] New: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt vries at gcc dot gnu.org 2024-03-14 10:13 ` [Bug testsuite/31451] " vries at gcc dot gnu.org @ 2024-03-28 7:26 ` cvs-commit at gcc dot gnu.org 2024-03-28 7:27 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-03-28 7:26 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31451 --- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom de Vries <vries@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a26b7d06eb20bf8c83c9204a398c3444b5c28ddb commit a26b7d06eb20bf8c83c9204a398c3444b5c28ddb Author: Tom de Vries <tdevries@suse.de> Date: Thu Mar 28 08:26:31 2024 +0100 [gdb/testsuite] Fix test-case gdb.threads/attach-stopped.exp on manjaro linux When running test-case gdb.threads/attach-stopped.exp on aarch64-linux, using the manjaro linux distro, I get: ... (gdb) thread apply all bt^M ^M Thread 2 (Thread 0xffff8d8af120 (LWP 278116) "attach-stopped"):^M #0 0x0000ffff8d964864 in clock_nanosleep () from /usr/lib/libc.so.6^M #1 0x0000ffff8d969cac in nanosleep () from /usr/lib/libc.so.6^M #2 0x0000ffff8d969b68 in sleep () from /usr/lib/libc.so.6^M #3 0x0000aaaade370828 in func (arg=0x0) at attach-stopped.c:29^M #4 0x0000ffff8d930aec in ?? () from /usr/lib/libc.so.6^M #5 0x0000ffff8d99a5dc in ?? () from /usr/lib/libc.so.6^M ^M Thread 1 (Thread 0xffff8db62020 (LWP 278111) "attach-stopped"):^M #0 0x0000ffff8d92d2d8 in ?? () from /usr/lib/libc.so.6^M #1 0x0000ffff8d9324b8 in ?? () from /usr/lib/libc.so.6^M #2 0x0000aaaade37086c in main () at attach-stopped.c:45^M (gdb) FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt ... The problem is that the test-case expects to see start_thread: ... gdb_test "thread apply all bt" ".*sleep.*start_thread.*" \ "$threadtype: attach2 to stopped bt" ... but lack of symbols makes that impossible. Fix this by allowing " in ?? () from " as well. Tested on aarch64-linux. PR testsuite/31451 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31451 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/31451] [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt 2024-03-05 7:38 [Bug testsuite/31451] New: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt vries at gcc dot gnu.org 2024-03-14 10:13 ` [Bug testsuite/31451] " vries at gcc dot gnu.org 2024-03-28 7:26 ` cvs-commit at gcc dot gnu.org @ 2024-03-28 7:27 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2024-03-28 7:27 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=31451 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |15.1 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-28 7:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-03-05 7:38 [Bug testsuite/31451] New: [gdb/testsuite] FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt vries at gcc dot gnu.org 2024-03-14 10:13 ` [Bug testsuite/31451] " vries at gcc dot gnu.org 2024-03-28 7:26 ` cvs-commit at gcc dot gnu.org 2024-03-28 7:27 ` vries at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).