From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19635 invoked by alias); 16 Apr 2009 09:00:58 -0000 Received: (qmail 19616 invoked by uid 22791); 16 Apr 2009 09:00:53 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp21.services.sfr.fr (HELO smtp21.services.sfr.fr) (93.17.128.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Apr 2009 09:00:45 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2116.sfr.fr (SMTP Server) with ESMTP id 0ED2A700008F; Thu, 16 Apr 2009 11:00:43 +0200 (CEST) Received: from [223.200.200.12] (121.138.84-79.rev.gaoland.net [79.84.138.121]) by msfrf2116.sfr.fr (SMTP Server) with ESMTP id C515F700008C; Thu, 16 Apr 2009 11:00:42 +0200 (CEST) X-SFR-UUID: 20090416090042807.C515F700008C@msfrf2116.sfr.fr Message-ID: <49E6F3BB.5070801@free.fr> Date: Thu, 16 Apr 2009 11:15:00 -0000 From: Marc Mason User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14 MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sourceware.org Subject: Re: x commands in history References: <49E5ED01.5040300@free.fr> <20090415155857.GA14532@caradoc.them.org> <49E60736.4070407@free.fr> <20090415171633.GA19061@caradoc.them.org> In-Reply-To: <20090415171633.GA19061@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-04/txt/msg00136.txt.bz2 Daniel Jacobowitz wrote: > On Wed, Apr 15, 2009 at 06:11:34PM +0200, Marc Mason wrote: >> Daniel Jacobowitz wrote: >>> On Wed, Apr 15, 2009 at 04:19:45PM +0200, Marc Mason wrote: >>> >>>> However, on this embedded platform, when I scroll through the commands >>>> history, the "addr" part of the x command is always discarded... >>> >>> What platform? What version of GDB? >> >> I was under the impression that my issue was a feature, not a bug, which >> is why I didn't think the details you ask for would be important. >> >> GNU gdb 6.5-ST-1.0-ST40 [build Feb 23 2007] >> I connect to the embedded board via an ST micro connect device. > > If it's a feature, it's one ST's added - but I think it's a bug that > was fixed, related to how the x command repeats when you press enter. Strange... I've been using gdb for years, and I've never had that problem before. Something in the setup must be different. I'll look into ST-specific options. > That's a pretty old baseline GDB version. We are, indeed, using an ancient tool chain (released in 2007). # binutils 2.16.91.0.5 # GCC 4.1.1 # GDB 6.5 # newlib 1.14.0 while the latest tool chain provides # binutils 2.18.50.0.4 # GCC 4.2.4 # GDB 6.8 # gmake 3.80 # newlib 1.16.0 -- Regards.