NetBSD-Bugs archive

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

Re: kern/36183: problem with ptrace and multithreaded processes



The following reply was made to PR kern/36183; it has been noted by GNATS.

From: Christoph Egger <Christoph_Egger%gmx.de@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: Re: kern/36183: problem with ptrace and multithreaded processes
Date: Thu, 5 Feb 2009 11:31:57 +0100

 Use a multithreaded program in gdb. In my example I use qemu
 from svn tree.
 
 # gdb qemu-system-x86_64
 (gdb) set args guestimage.img -vnc :0
 (gdb) run
 Program received signal SIGUSR2, User defined signal 2.
 0x00007f7ffd1710da in ___lwp_park50 () from /usr/lib/libc.so.12
 (gdb) quit
 The program is running.  Exit anyway? (y or n) y
 
 gdb never exits. You have to kill gdb from an other shell
 to get back to the command line.
 
 sorry, pid 699 was killed: orphaned traced process
 Killed 
 # 
 


Home | Main Index | Thread Index | Old Index