List Info

Thread: Debug Symbols from GDB Server




Debug Symbols from GDB Server
country flaguser name
Brazil
2008-05-07 14:08:13
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? 

Thanks.
Vinicius Pinto


Re: Debug Symbols from GDB Server
country flaguser name
United States
2008-05-07 14:11:23
On Wed, May 07, 2008 at 04:08:13PM -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? 

Sorry, this is not presently supported.  If you want symbols
they must
be on the host.

-- 
Daniel Jacobowitz
CodeSourcery

Re: Debug Symbols from GDB Server
country flaguser name
United States
2008-05-07 14:49:15
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.   ;-/




[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )