From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24050 invoked by alias); 2 Jan 2005 13:02:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24024 invoked from network); 2 Jan 2005 13:02:43 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.171) by sourceware.org with SMTP; 2 Jan 2005 13:02:43 -0000 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Cl5Na-0005RX-00 for gdb@sources.redhat.com; Sun, 02 Jan 2005 14:02:42 +0100 Received: from [217.226.57.155] (helo=[192.168.30.10]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Cl5Na-0007NK-00 for gdb@sources.redhat.com; Sun, 02 Jan 2005 14:02:42 +0100 Message-ID: <41D7F1EF.1090308@e-tobi.net> Date: Sun, 02 Jan 2005 13:02:00 -0000 From: Tobias Grimm Reply-To: listaccount@e-tobi.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: GDB Subject: gdb vs gdbserver Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00007.txt.bz2 Hi! These are my first steps with gdb, but I'm already stuck and need some kind of jump start. I would like to debug a multithreaded application (VDR), which works fine if I do this "directly" with gdb. Using gdbserver, only one thread is created and then everything stops. What I'm doing is this: gdbserver host:1000 /usr/bin/vdr-dbg on the same (target-)machine, just another terminal: gdb /usr/bin/vdr-dbg (gdb) target remote localhost:1000 Remote debugging using localhost:1000 0x40000c20 in ?? () (gdb) c Continuing. [New Thread 16384] And that's it - no other thread is loaded. Running gdb directly works perfectly. Am I doing something wrong? What can I do to trace down the problem? bye, Tobias