From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5199 invoked by alias); 7 May 2008 19:49:35 -0000 Received: (qmail 5191 invoked by uid 22791); 7 May 2008 19:49:34 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 May 2008 19:49:17 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id D3E093BE27; Wed, 7 May 2008 12:49:15 -0700 (PDT) Subject: Re: Debug Symbols from GDB Server From: Michael Snyder To: Vinicius Nunes Pinto Cc: gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain Date: Wed, 07 May 2008 19:49:00 -0000 Message-Id: <1210189755.4615.471.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00062.txt.bz2 On Wed, 2008-05-07 at 16:08 -0300, Vinicius Nunes Pinto wrote: > I want to debug an application that is running remotely. My problem is > that I don't have a copy of the symbol's file at the client, just on the > host. I am also not able to use the command "remote get targetfile > hostfile". > > Does anyone know how to retrieve the debug symbols (and load the > symbols' tables) from the target by GDB server? Can't be done. You need to somehow get a copy of the remote symbol file onto the host where you run gdb. That's just how it's done. ;-/