This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Cannot find bounds of current function
- From: Buday Gergely <gergoe at math dot bme dot hu>
- To: gdb at sources dot redhat dot com
- Date: Mon, 25 Jul 2005 15:39:45 +0200 (CEST)
- Subject: Cannot find bounds of current function
Hi,
I'm to use remote debugging via gdbserver on my Ubuntu linux box.
I've compiled my program with the -g gcc option. Then started
$ gdbserver host:10000 a.out
From the same machine I started gdb and told her
(gdb) target remote localhost:10000
Remote debugging using localhost:10000
0xb7febc20 in ?? ()
(gdb) n
Cannot find bounds of current function
I've googled a bit and found that I should use add-symbol-file at the gdb
client. I've used an object file with debug information to load (not sure
about this one) but was totally inept to figure out what address should I
give as a second argument. Do you have any hint where I can get a proper
address from? Or, any advice how should I set up my remote debugging
session?
- Gergely