[6.2] PROBLEMS file
Mark Kettenis
kettenis@chello.nl
Thu Jul 22 20:58:00 GMT 2004
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
More information about the Gdb
mailing list