This is the mail archive of the gdb@sourceware.org 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] |
On Fri, Sep 01, 2006 at 01:44:06PM +0100, Cai Qian wrote: > 3) # Connect to gdbserver locally. > gdb > ... > "This GDB was configured as x86_64-linux-gun" > (gdb) target remote localhost:22222
You need to give GDB a binary file before you connect. Otherwise, it is defaulting to 32-bit registers.
You should always do this, on every platform.
(gdb) s Cannot find bounds of current function
-- Daniel Jacobowitz CodeSourcery
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |