From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20049 invoked by alias); 28 Dec 2014 16:41:20 -0000 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 Received: (qmail 20038 invoked by uid 89); 28 Dec 2014 16:41:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 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-f173.google.com Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 28 Dec 2014 16:41:17 +0000 Received: by mail-wi0-f173.google.com with SMTP id r20so20317451wiv.6 for ; Sun, 28 Dec 2014 08:41:14 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.61.18 with SMTP id l18mr102284722wjr.42.1419784874408; Sun, 28 Dec 2014 08:41:14 -0800 (PST) Received: by 10.194.165.106 with HTTP; Sun, 28 Dec 2014 08:41:14 -0800 (PST) In-Reply-To: <1716575811.1998535.1419775088162.JavaMail.yahoo@jws11115.mail.ir2.yahoo.com> References: <83h9whkkph.fsf@gnu.org> <1716575811.1998535.1419775088162.JavaMail.yahoo@jws11115.mail.ir2.yahoo.com> Date: Sun, 28 Dec 2014 16:41:00 -0000 Message-ID: Subject: Re: building gdb with TUI support on Windows From: Ofir Cohen To: Hannes Domani Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00049.txt.bz2 Hi Hannes, Thanks a lot for the reply. It seems like one has to hack his own way through the code, and concrete steps / further description will be very helpful in my case. > I only had to change tputs() a bit. Could you please describe what changes are required there? I just commented it out, but I'm not sure that's enough. > Since then I switched to pdcurses, it works much better (+faster) on windows. What environment and configuration did you use for building it? Do you just: ./configure --prefix=/mingw make make install and build gdb (in my case it's msys/msys2)? Or you needed to hack a little bit more (since PDCurses will not be found by default by configure) by adding for example some symbolic links from pdcurses libraries to ncurses? Thanks, Ofir Cohen On 28 December 2014 at 15:58, Hannes Domani wrote: > Eli Zaretskii schrieb am 19:32 Samstag, 27.Dezember 2014: >> > Date: Sat, 27 Dec 2014 14:39:46 +0000 (UTC) >> > From: Hannes Domani >> > >> > You might want to check out this link (plus the comments): >> > http://opensourcepack.blogspot.co.at/2012/02/gdb-74-with-tui-win32.html >> >> Thank. May I encourage you to report those problems with the patches? >> It would be nice to have them upstream (the latest version of GDB is >> 7.8.1, with 7.9 looming). > > I forgot that I only had these problems with ncurses. > Since then I switched to pdcurses, it works much better (+faster) on windows. > > I only had to change tputs() a bit.