This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: G++ guru's please comment - Re: FW: pthread_create problem in Cygwin 1.1.8-2]


On Wed, Apr 11, 2001 at 07:40:48AM +1000, Robert Collins wrote:
>----- Original Message -----
>From: "Christopher Faylor" <cgf@redhat.com>
>To: <cygwin@cygwin.com>
>Sent: Wednesday, April 11, 2001 1:14 AM
>Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem
>in Cygwin 1.1.8-2]
>
>>Here is a standard prologue generated by gcc when compiling for an
>>Intel target.
>>
>>         pushl   %ebp
>>         movl    %esp, %ebp
>>
>>This moves the contents of the esp (stack) register into the ebp (frame
>>pointer) register.  The "movement" is left to right in gas syntax.
>>
>
>try this: bring up that prologue in gdb, then enter set disas intel
>
>and regenerate the disas.  I suspect you're looking at att syntax
>(which IIRC is the gas default).

Um.  Yes, of course I'm looking at the default syntax.  Had you changed
the syntax in your example?  If so, then the simple answer to the
"I'm puzzled" is "I used 'set disas intel'".

Regardless, I was looking at the actual assembly output from gcc.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]