From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36182 invoked by alias); 3 Nov 2015 11:15:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 36164 invoked by uid 89); 3 Nov 2015 11:15:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Nov 2015 11:15:08 +0000 Received: by wicll6 with SMTP id ll6so67366556wic.0 for ; Tue, 03 Nov 2015 03:15:05 -0800 (PST) X-Received: by 10.194.9.233 with SMTP id d9mr27489599wjb.129.1446549305222; Tue, 03 Nov 2015 03:15:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.227.130 with HTTP; Tue, 3 Nov 2015 03:14:25 -0800 (PST) Reply-To: fracting@gmail.com In-Reply-To: References: <1446492970-21432-1-git-send-email-palves@redhat.com> <5637C1FA.2060708@redhat.com> <5637CB96.4010106@redhat.com> From: Qian Hong Date: Tue, 03 Nov 2015 11:15:00 -0000 Message-ID: Subject: Re: [PATCH 00/11] C++/MinGW patches To: Pedro Alves Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00061.txt.bz2 On Tue, Nov 3, 2015 at 6:46 PM, Qian Hong wrote: > actual result: > gdb exit with error message: "This application has requested the > Runtime to terminate it in an unusual way. Please contact the > application's support team for more information." when debugging a > simple hello world program. " Update: I also test it on Wine, for your convenient, if you don't have Windows nearby to test, maybe Wine is an option. I tested with Wine Staging 1.7.53, which provides prebuilt binaries to mainstream Linux distributions [1]. The test result is almost the same between Windows and Wine: gcc build of gdb works fine, g++ build of gdb broken. The exit status is 0x3, the same on Windows and Wine. I tried use WineDbg to debug gdb, but I found there is no backtrace at failure. (However, for unknown reason, Wine doesn't print the error message "This application has requested ... ", I'll look into that later, should be a Wine bug.) [1] https://github.com/wine-compholio/wine-staging/wiki/Installation -- Regards, Qian Hong - http://www.winehq.org