NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40594: gdb does not work on 5.0 RC2



>Number:         40594
>Category:       kern
>Synopsis:       gdb does not work on 5.0 RC2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 09 20:15:00 +0000 2009
>Originator:     Antti Kantee
>Release:        5.0_RC2
>Organization:
>Environment:
>Description:
Somewhere between late 5.0_BETA and 5.0_RC (1 and 2) gdb stopped working.
Notably, my gdb is from Nov 2007.
>How-To-Repeat:
pain-rustique:1:~> gdb /bin/ls
GNU gdb 6.5
[snip]

(gdb) run
Starting program: /bin/ls
*hang*



>Fix:
It seems that executing ls ends up the "pause" wchan.  It is coming
from __sigsuspend14.  gdb, on the other hand, is doing wait4.
So I guess technically the program executed from is hanging, not gdb.



Home | Main Index | Thread Index | Old Index