From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22199 invoked by alias); 5 Oct 2006 22:29:45 -0000 Received: (qmail 22191 invoked by uid 22791); 5 Oct 2006 22:29:45 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 05 Oct 2006 22:29:41 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GVbik-00047m-5M; Thu, 05 Oct 2006 18:29:38 -0400 Date: Thu, 05 Oct 2006 22:29:00 -0000 From: Daniel Jacobowitz To: Denis PILAT Cc: gdb-patches Subject: Re: [readline] TUI size computation for mingw32 hosts Message-ID: <20061005222938.GC14087@nevyn.them.org> Mail-Followup-To: Denis PILAT , gdb-patches References: <451BCA71.5040109@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <451BCA71.5040109@st.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00040.txt.bz2 On Thu, Sep 28, 2006 at 03:13:21PM +0200, Denis PILAT wrote: > Attached is a patch that fix a problem of calculating console window size > when gdb is hosted on windows. > > I already fixed this problem in gdb 6.4 version, that was integrated into > readline (cf > http://sources.redhat.com/ml/gdb-patches/2006-02/msg00245.html) > , but the readline I got from the 6.5 version cancels the modification > with some new > code that overwrote variables I used. Hi Denis, This looks fine to me - did you hear back from Chet about it? > 2006-09-28 Denis Pilat > > * readline/terminal.c (_rl_get_screen_size): use wr and wc variable to store > window size. -- Daniel Jacobowitz CodeSourcery