From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2815 invoked by alias); 2 Jan 2005 15:02:04 -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 2786 invoked from network); 2 Jan 2005 15:01:59 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 2 Jan 2005 15:01:59 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Cl7Eo-0004j9-8m; Sun, 02 Jan 2005 10:01:46 -0500 Date: Sun, 02 Jan 2005 15:02:00 -0000 From: Daniel Jacobowitz To: Tobias Grimm Cc: GDB Subject: Re: gdb vs gdbserver Message-ID: <20050102150145.GA18132@nevyn.them.org> Mail-Followup-To: Tobias Grimm , GDB References: <41D7F1EF.1090308@e-tobi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41D7F1EF.1090308@e-tobi.net> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2005-01/txt/msg00008.txt.bz2 On Sun, Jan 02, 2005 at 02:06:55PM +0100, Tobias Grimm wrote: > gdbserver host:1000 /usr/bin/vdr-dbg You are root so that it can open port 1000, right? :-) > 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? You could give us some information about your target, system, and version. And the output of "set debug remote 1". -- Daniel Jacobowitz