Re: library/6182: Bad catclose declaration cause corruption on amd64

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <henry@...>
Cc: <gnats@...>, <bugs@...>
Date: Saturday, July 4, 2009 - 5:02 pm

> Date: Sat, 4 Jul 2009 13:17:27 -0700

Eh, nl_catd is declared in <nl_types.h>, which is included right
before that declaration.


You're fooled by the fact that GCC generates incomplete debug
information.  GDB managed to stop inside the function prologue and at
that point the stack slot that is going to hold the local copy of the
catd argument isn't filled yet.  If you step (2 times) to get out of
the prologue and into the body of the function, you'll see that the
catd value is the same after all.

Cheers,

Mark
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: library/6182: Bad catclose declaration cause corruption ..., Mark Kettenis, (Sat Jul 4, 5:02 pm)