From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76058 invoked by alias); 3 Nov 2015 11:41:27 -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 76032 invoked by uid 89); 3 Nov 2015 11:41:25 -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-f172.google.com Received: from mail-wi0-f172.google.com (HELO mail-wi0-f172.google.com) (209.85.212.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Nov 2015 11:41:24 +0000 Received: by wicfx6 with SMTP id fx6so67508641wic.1 for ; Tue, 03 Nov 2015 03:41:21 -0800 (PST) X-Received: by 10.194.57.203 with SMTP id k11mr27722943wjq.98.1446550881190; Tue, 03 Nov 2015 03:41:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.227.130 with HTTP; Tue, 3 Nov 2015 03:40:41 -0800 (PST) Reply-To: fracting@gmail.com In-Reply-To: <563899DB.10205@redhat.com> References: <1446492970-21432-1-git-send-email-palves@redhat.com> <5637C1FA.2060708@redhat.com> <5637CB96.4010106@redhat.com> <563899DB.10205@redhat.com> From: Qian Hong Date: Tue, 03 Nov 2015 11:41: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/msg00065.txt.bz2 Hi Pedro, Thanks for testing Wine Staging. On Tue, Nov 3, 2015 at 7:26 PM, Pedro Alves wrote: > I've actually tried Wine multiple times before over the years. I've managed > to run gdbserver under Wine (in the past, haven't tried recently), and connect > to it with a GNU/Linux-hosted cross debugger (--host=linux --target=mingw), > but gdb running under Wine has never worked for me. The problem for > me is that input does not work. I can confirm the behavior you described. I think this is related to a known bug I want to fix: https://bugs.wine-staging.com/show_bug.cgi?id=290 At this time, there is two solution to make input works. Solution A: start wineconsole before using gdb: $ wineconsole C:\path\to\gdb.exe Solution B: use MinTTY as a replacement of wineconsole, from MSYS2 project: https://msys2.github.io/ (note: `export STAGING_WRITECOPY=1` is required before using MSYS2, see https://github.com/fracting/wine-fracting/wiki/MSYS2-on-Wine#build-status ) The advantage of solution A is, no third party software required, however, the disadvantage is, wineconsole itself is not nice, things like copy&paste doesn't work, it is not a good terminal emulator in practice. The advantage of solution B is, mintty is a full working terminal emulator, also with some tweaking we can use Linux like shortcut (ctrl+shift+c/v) inside mintty, in addition there are a couple of other GNU/Linux tools available in MSYS2 repo, but the disadvantage is we need to install third party software ;-) If you have chance to try either wineconsole or mintty, please let me know if it solve your input, that's great appreciated. -- Regards, Qian Hong - http://www.winehq.org