This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Doubts with GDB and GDBSERVER

On 12/10/2012 10:57 AM, John Martin wrote:


I have tried to use gdb and gdbserver to debug App but I have a doubts:

In server side:
gdbserver :12345 ./App

In client side:

GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-geode-linux-gnu".
For bug reporting instructions, please see:
(gdb) target remote
Remote debugging using
warning: Could not load vsyscall page because no executable was specified
try using the "file" command first.
0xb7fe77e0 in ?? ()
(gdb) file App
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
App: No existe el fichero o el directorio.

Is it possible to load symbol table App from target remote?

Best regards.

You need a copy of the binary in the host as well... Try loading the symbol file *before* connecting to the remote target too.

Does that work?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]