This is the mail archive of the
mailing list for the GDB project.
Re: Doubts with GDB and GDBSERVER
- From: John Martin <jmartin at larraioz dot com>
- To: lgustavo at codesourcery dot com
- Cc: gdb at sourceware dot org
- Date: Mon, 10 Dec 2012 14:46:37 +0100
- Subject: Re: Doubts with GDB and GDBSERVER
- References: <50C5D99A.email@example.com> <50C5DC2E.firstname.lastname@example.org> <50C5E5CD.email@example.com>
Yes, it works.
But I am interesting in load symbols from remote file, then it is not a
solution for me.
Thank you very much.
El 10/12/12 14:38, Luis Machado escribió:
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
and "show warranty" for details.
This GDB was configured as "i586-geode-linux-gnu".
For bug reporting instructions, please see:
(gdb) target remote 192.168.1.150:12345
Remote debugging using 192.168.1.150:12345
warning: Could not load vsyscall page because no executable was
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?
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?