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]


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


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