This is the mail archive of the
mailing list for the GDB project.
Re: info frame
> Note that while %ebp is usually used as a frame pointer register, the
> architecture doesn't actually force you to do that. Nowadays
> compilers can and will generate frameless functions, and for those,
> the value %ebp is meaningless.
Thanks for the explanation.
Does this mean that if we choose to print the frame address in MI as part
of the output of -stack-list-frames:
>> Can somebody suggest the right fix? So far, I think that the simplest
>> approach is to make gdb print stack address of current frame, like
>> is done
>> on the Apple branch:
0xbffff2c0 should not be the value of $fp but the value of "frame at..." in