This is the mail archive of the gdb@sources.redhat.com 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]

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


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