From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26215 invoked by alias); 2 Jan 2005 17:28:38 -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 26202 invoked from network); 2 Jan 2005 17:28:31 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.184) by sourceware.org with SMTP; 2 Jan 2005 17:28:31 -0000 Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Cl9WY-0000jm-00; Sun, 02 Jan 2005 18:28:14 +0100 Received: from [217.226.57.155] (helo=[192.168.30.10]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Cl9WX-0000l6-00; Sun, 02 Jan 2005 18:28:14 +0100 Message-ID: <41D8302C.7060607@e-tobi.net> Date: Sun, 02 Jan 2005 17:28:00 -0000 From: Tobias Grimm Reply-To: listaccount@e-tobi.net User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) MIME-Version: 1.0 To: Daniel Jacobowitz CC: GDB Subject: Re: gdb vs gdbserver References: <41D7F1EF.1090308@e-tobi.net> <20050102150145.GA18132@nevyn.them.org> In-Reply-To: <20050102150145.GA18132@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00012.txt.bz2 Daniel Jacobowitz wrote: >>gdbserver host:1000 /usr/bin/vdr-dbg > You are root so that it can open port 1000, right? :-) Of course. And gdb also connects to port 1000, so this part seems to work. > You could give us some information about your target, system, > and version. Target is i386 (Debian Sarge running kernel 2.4.27). I tried it with gdb version 6.1 and 6.3. > And the output of "set debug remote 1". Ok, thats funny - with this option set it works. Without "set debug remote 1" the application "hangs". But I can disable it after starting the application and it continues to work. So at least this is something I can work with. It still shows only the creation of the main thread, but "info threads" prints out all eight threads and I can switch to each of it. Tobias