This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [6.2] PROBLEMS file
Date: Wed, 21 Jul 2004 14:16:32 -0700
From: "H. J. Lu" <hjl@lucon.org>
FYI, the i386 psABI, which is also used by the x86-64 psABI, says:
%ebp The content of this register is unspecified at process
initialization time, but the user code should mark the
deepest stack frame by setting the frame pointer to zero.
No other frame's %ebp should have a zero value.
Which contradicts the optional nature of %ebp as a frame pointer. So
the standard contradicts itself. Anyway, in practice the %ebp == 0
condition is useless.
Mark