NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/46989: gdb stepping gets confused in threaded programs
>Number: 46989
>Category: toolchain
>Synopsis: gdb stepping gets confused in threaded programs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 20 12:35:00 +0000 2012
>Originator: Martin Husemann
>Release: NetBSD 6.99.11
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 6.99.11 NetBSD 6.99.11
(WHOEVER) #3: Wed Sep 19 09:38:50 CEST 2012
martin%emmas.aprisoft.de@localhost:/usr/src/sys/arch/sparc64/compile/WHOEVER
sparc64
Architecture: sparc64
Machine: sparc64
>Description:
(Single) stepping in threaded programs seems to have probblems, at least
on sparc64:
Continuing.
[New LWP 2]
/usr/src/external/gpl3/gdb/dist/gdb/infrun.c:3550: internal-error:
handle_inferior_event: Assertion `ptid_equal (singlestep_ptid, ecs->ptid)'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
>How-To-Repeat:
cd /usr/tests/lib/libpthread
gdb ./t_join
break pthread_join
run pthread_join
and then, when hitting the breakpoint, do: c
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index