This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 00/11] C++/MinGW patches
- From: Qian Hong <fracting at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 Nov 2015 19:14:25 +0800
- Subject: Re: [PATCH 00/11] C++/MinGW patches
- Authentication-results: sourceware.org; auth=none
- References: <1446492970-21432-1-git-send-email-palves at redhat dot com> <5637C1FA dot 2060708 at redhat dot com> <CALd+sZThHQQFq4DSw9Dd0pXVfYmAq=RFj0GM1OtmSXv8OwL4sg at mail dot gmail dot com> <5637CB96 dot 4010106 at redhat dot com> <CALd+sZQ2tPkgiKAH2rxpLy_pr_j4cxTo2Jy95naFG6LuoJP2GQ at mail dot gmail dot com>
- Reply-to: fracting at gmail dot com
On Tue, Nov 3, 2015 at 6:46 PM, Qian Hong <email@example.com> 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. "
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 .
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.)