bug-gdb
[Top][All Lists]
Advanced

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

on a multi-threaded program


From: Nicolas Roux
Subject: on a multi-threaded program
Date: Wed, 19 Sep 2001 13:34:19 +0200

Hello!

I've got a problem on a multiple threaded program that I'm trying to
debug with gdb. I think it's a mistake from my part but I couldn't find
any answer on the web.

here is a sample of what I do:

>$ gdb servgn
>
>(gdb) run
>[New Thread 1024 (LWP 23407)]
>[New Thread 2049 (LWP 23408)]
>[New Thread 1026 (LWP 23409)]
>[New Thread 2051 (LWP 23410)]

This program is waiting for socket connections. When I launch an other
program which tries to connect, I've got the following message:

>[New Thread 3076 (LWP 23412)]
>[New Thread 4101 (LWP 23413)]
>[New Thread 5126 (LWP 23414)]
>ptrace: No such process.
>(gdb) 

I'm working on a Suse Linux 7.2 (kernel 2.4.4). My version of gdb is
5.0-93.

Hope for an answer.

Nicolas Roux



reply via email to

[Prev in Thread] Current Thread [Next in Thread]