This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
threads/1016: gdb kills all the threads of a running server process when tatched to the process on HP UX 11i
- From: sunilk at novell dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 1 Feb 2003 05:44:08 -0000
- Subject: threads/1016: gdb kills all the threads of a running server process when tatched to the process on HP UX 11i
- Reply-to: sunilk at novell dot com
>Number: 1016
>Category: threads
>Synopsis: gdb kills all the threads of a running server process when tatched to the process on HP UX 11i
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 01 05:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: sunilk@novell.com
>Release: gdb-5.3
>Organization:
>Environment:
HP UX 11i
>Description:
Hi,
I have downloaded the latets gdb-5.3 source on HP UX and build it as follows:
export CC="aCC -Ae -D_HPUX_SOURCE"
./configure
make
make install
The build goe sthru successsfully and generates the gdb binary.
When i m using the gdb binary to debug a running server process by attaching to its PID, it kills all the threads of server process after attaching.
(gdb)info threads
27 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 26 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 25 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 24 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 23 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 22 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 21 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 20 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 19 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 18 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 17 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 16 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 15 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 14 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 13 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 12 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 11 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 10 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 9 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 8 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 7 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 6 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
* 5 system thread 8032 0xc0209378 in kill () from /usr/lib/libc.2
Does anyone faced the same problem ever.Thanks in advance for all the help requested.
Regrads,
Sunil.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: