From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5905 invoked by alias); 25 Jan 2010 19:11:00 -0000 Received: (qmail 5895 invoked by uid 22791); 25 Jan 2010 19:10:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f210.google.com (HELO mail-ew0-f210.google.com) (209.85.219.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jan 2010 19:10:55 +0000 Received: by ewy2 with SMTP id 2so4532619ewy.5 for ; Mon, 25 Jan 2010 11:10:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.86.137 with SMTP id w9mr1125473wee.104.1264446652701; Mon, 25 Jan 2010 11:10:52 -0800 (PST) Date: Mon, 25 Jan 2010 19:11:00 -0000 Message-ID: <2bf229d31001251110q2d2f76e1p44d64f1553b18849@mail.gmail.com> Subject: snapshot issues with mingw-w64 based targets From: Chris Sutcliffe To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00189.txt.bz2 Hi All, I'm able to build the 20100125 snapshot using i686-w64-mingw32 no problem, but when debugging I don't see anything beyond addresses: $ gdb --args tst.exe GNU gdb (GDB) 7.0.50.20100123 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-w64-mingw32". For bug reporting instructions, please see: ... Reading symbols from C:\cygwin\usr\src\gdb\test/tst.exe...done. (gdb) r Starting program: C:\cygwin\usr\src\gdb\test/tst.exe [New Thread 1576.0x17d8] Program received signal SIGSEGV, Segmentation fault. 0x004013da in main () (gdb) bt #0 0x004013da in main () (gdb) I configured it with: CFLAGS="-I/usr/src/gdb/expat-w32/include -static -L/usr/src/gdb/expat-w32/lib" ../gdb-7.0.1/configure --host=i686-w64-mingw32 --target=i686-w64-mingw32 --build=i386-pc-cygwin and build with the standard make / make install-gdb, which I used when compiling 7.0.1 and it seems to work as expected. Have I missed something? Chris -- Chris Sutcliffe http://emergedesktop.org