From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17609 invoked by alias); 28 Jun 2004 11:46:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17585 invoked from network); 28 Jun 2004 11:46:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 28 Jun 2004 11:46:17 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5SBkGe1032584 for ; Mon, 28 Jun 2004 07:46:16 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5SBkFw07530 for ; Mon, 28 Jun 2004 07:46:15 -0400 Received: from cygbert.vinschen.de (vpn50-35.rdu.redhat.com [172.16.50.35]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i5SBkEP18922 for ; Mon, 28 Jun 2004 04:46:14 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id 3D2A4582E2; Mon, 28 Jun 2004 13:46:12 +0200 (CEST) Date: Mon, 28 Jun 2004 11:46:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA] testsuite/gdb.arch/i386-unwind.c: ... (was Re: [RFA] testsuite/gdb.arch/i386-prologue.c: Fix compiling on Cygwin) Message-ID: <20040628114612.GC19325@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040628114125.GB19325@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040628114125.GB19325@cygbert.vinschen.de> User-Agent: Mutt/1.4.2i X-SW-Source: 2004-06/txt/msg00634.txt.bz2 I messed up the subject, sorry. Corinna On Jun 28 13:41, Corinna Vinschen wrote: > Hi, > > the gdb.arch/i386-unwind.c testcase doesn't compile on Cygwin due to > the missing underscores, the same as with i386-prologue.c. > > Corinna > > * gdb.arch/i386-unwind.c: Conditionalize label names to build > on Cygwin. > > Index: gdb.arch/i386-unwind.c > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.arch/i386-unwind.c,v > retrieving revision 1.1 > diff -u -p -r1.1 i386-unwind.c > --- gdb.arch/i386-unwind.c 19 Nov 2003 17:42:43 -0000 1.1 > +++ gdb.arch/i386-unwind.c 28 Jun 2004 11:38:42 -0000 > @@ -34,9 +34,15 @@ asm(".text\n" > "gdb1435:\n" > " pushl %ebp\n" > " mov %esp, %ebp\n" > +#ifdef __CYGWIN__ > + " call _trap\n" > + " .globl _main\n" > + "_main:\n" > +#else > " call trap\n" > " .globl main\n" > "main:\n" > +#endif > " pushl %ebp\n" > " mov %esp, %ebp\n" > " call gdb1435\n"); > > -- > Corinna Vinschen > Cygwin Co-Project Leader > Red Hat, Inc.