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

Robert Collins robert.collins@itdomain.com.au
Tue Apr 10 14:41:00 GMT 2001


----- 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.
>
> cgf
>

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).

Rob

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


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



More information about the Cygwin mailing list