This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: argc - cant access memory
On 10 July 2007 20:47, Daniel Jacobowitz wrote:
> On Tue, Jul 10, 2007 at 08:41:40PM +0100, Dave Korn wrote:
>> This is normal behaviour. It's nothing to do with optimisation:
>
> Actually, I expect this is the problem specific to "main" that we've
> seen before; it is caused by stack alignment code that recent GCCs
> emit on x86, to accomodate SSE.
Ah, is the stack adjustment code not marked as frame-related? I guess that
would do it ...
cheers,
DaveK
--
Can't think of a witty .sigline today....