From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27914 invoked by alias); 2 Dec 2006 18:34:46 -0000 Received: (qmail 27892 invoked by uid 22791); 2 Dec 2006 18:34:45 -0000 X-Spam-Check-By: sourceware.org Received: from smtp107.sbc.mail.mud.yahoo.com (HELO smtp107.sbc.mail.mud.yahoo.com) (68.142.198.206) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 02 Dec 2006 18:34:39 +0000 Received: (qmail 23405 invoked from network); 2 Dec 2006 18:34:38 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.122.56 with login) by smtp107.sbc.mail.mud.yahoo.com with SMTP; 2 Dec 2006 18:34:37 -0000 X-YMail-OSG: Ll5D8sUVM1lFchrp.b.NbYWzmj8E93GW7r08_UBnLicXdKM2m1mn0ptbgiSGoY_mHke2TKXgkNXsY9FquWYtCLvap3Oz1NFpaKVBjxoame6YpklJ.51G3w-- Received: by lucon.org (Postfix, from userid 500) id A036B46EEAA; Sat, 2 Dec 2006 10:34:36 -0800 (PST) Date: Sat, 02 Dec 2006 18:34:00 -0000 From: "H. J. Lu" To: Joel Brobecker Cc: gdb@sourceware.org Subject: Re: GDB 6.6 branch FROZEN Message-ID: <20061202183436.GA11454@lucon.org> References: <20061202174613.GU3304@adacore.com> <20061202175623.GA14513@lucon.org> <20061202180259.GV3304@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061202180259.GV3304@adacore.com> User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes 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 X-SW-Source: 2006-12/txt/msg00009.txt.bz2 On Sat, Dec 02, 2006 at 10:02:59AM -0800, Joel Brobecker wrote: > > Any possibility to fix the regression from gdb 6.4, PR tui/2173? > > I am enclosing the patch here. > > I am not opposed, but I don't know readline very well. I'll pass > for this pre-release, but can you send the question on gdb-patches > and ask if the patch is safe enough for the branch? I'll defer > to the judgment of the global maintainers. > Here are some info https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215816 http://sources.redhat.com/ml/gdb-patches/2006-11/msg00327.html bash-3.1$ gdb gdb GNU gdb 6.6.50.20061202-cvs Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"... Using host libthread_db library "/lib64/libthread_db.so.1". Setting up the environment for debugging gdb. Breakpoint 1 at 0x448c00: file /export/gnu/src/gdb/gdb/gdb/utils.c, line 817. Breakpoint 2 at 0x47caf0: file /export/gnu/src/gdb/gdb/gdb/cli/cli-cmds.c, line 200. (top-gdb) b main Breakpoint 3 at 0x4414f0: file /export/gnu/src/gdb/gdb/gdb/gdb.c, line 28. (top-gdb) define foo Type commands for definition of "foo". End with a line saying just "end". >Quit (top-gdb) command 1 Type commands for when breakpoint 1 is hit, one per line. End with a line saying just "end". >define foo >end (top-gdb) So arrow works and (gdb) define foo > works. H.J.