Re: [PATCH 00/11] C++/MinGW patches

Pedro Alves
2015-11-03T12:34:14Z

On 11/03/2015 11:40 AM, Qian Hong wrote:
> Hi Pedro,
>
> Thanks for testing Wine Staging.
>
> On Tue, Nov 3, 2015 at 7:26 PM, Pedro Alves <palves@redhat.com> 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.

Thanks! I'll try this when I have a chance.

Thanks,
Pedro Alves