From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11586 invoked by alias); 28 Jun 2004 11:41:32 -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 11560 invoked from network); 28 Jun 2004 11:41:31 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 28 Jun 2004 11:41:31 -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 i5SBfUe1031225 for ; Mon, 28 Jun 2004 07:41:30 -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 i5SBfTw07360 for ; Mon, 28 Jun 2004 07:41:29 -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 i5SBfSP18780 for ; Mon, 28 Jun 2004 04:41:28 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id A7356582E2; Mon, 28 Jun 2004 13:41:25 +0200 (CEST) Date: Mon, 28 Jun 2004 11:41:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA] testsuite/gdb.arch/i386-prologue.c: Fix compiling on Cygwin Message-ID: <20040628114125.GB19325@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-SW-Source: 2004-06/txt/msg00633.txt.bz2 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.