Bug 28343

Summary: [m32] linux-nat.c:1449: internal-error: virtual void linux_nat_target::detach(inferior*, int): Assertion `num_lwps (pid) == 1' failed.
Product: gdb Reporter: Tom de Vries <vries>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Tom de Vries 2021-09-16 06:43:24 UTC
When running test-case gdb.threads/detach-step-over.exp using target board unix/-m32, I run into:
...
(gdb) FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=off: non-stop=off: displaced=off: iter 1: all threads running
detach^M
warning: Couldn't reap LWP 14208 while detaching: No child processes^M
/home/vries/gdb_versions/devel/src/gdb/linux-nat.c:1449: internal-error: virtual void linux_nat_target::detach(inferior*, int): Assertion `num_lwps (pid) == 1' failed.^M
...