Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 10 Apr 2001 20:33:20 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: G++ guru's please comment - Re: FW: pthread_create problem in Cygwin 1.1.8-2] Message-ID: <20010410203320.A22629@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <17B78BDF120BD411B70100500422FC6309E26A AT IIS000> <20010410111400 DOT A17289 AT redhat DOT com> <02ef01c0c206$e9526f60$0200a8c0 AT lifelesswks> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <02ef01c0c206$e9526f60$0200a8c0@lifelesswks>; from robert.collins@itdomain.com.au on Wed, Apr 11, 2001 at 07:40:48AM +1000 On Wed, Apr 11, 2001 at 07:40:48AM +1000, Robert Collins wrote: >----- Original Message ----- >From: "Christopher Faylor" >To: >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