gdbserver with X86_64

Andrew STUBBS andrew.stubbs@st.com
Fri Sep 1 14:27:00 GMT 2006


Daniel Jacobowitz wrote:
> On Fri, Sep 01, 2006 at 02:31:50PM +0100, Cai Qian wrote:
>> Oh, I see. Just realised
>>
>> set architecture i386:x86-64
>>
>> also work for me. However, it seems there is a problem with single step,
>>
>> (gdb) s
>> Cannot find bounds of current function
> 
> This is the standard error when you aren't somewhere with source
> debugging information; if you have a symbol file loaded, and are
> stopped in it (instead of in the startup code) it should go away.

Perhaps the message ought to be improved. I doubt this is the first time 
a user has not understood it. There are probably other examples of 'I 
can't do that' with only a cryptic internal reason given.

It might be enough to change it to "Not enough information to step a 
source line (cannot find bounds of current function)."

Otherwise, GDB should either try to find out why there were no function 
bounds (e.g "You can't do this without a program loaded"), or else it 
should add an extra message "This usually means there is no debug info 
for this part of the program."

Just a thought.

Andrew



More information about the Gdb mailing list