From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3032 invoked by alias); 15 Apr 2009 14:19:56 -0000 Received: (qmail 3022 invoked by uid 22791); 15 Apr 2009 14:19:55 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp22.services.sfr.fr (HELO smtp22.services.sfr.fr) (93.17.128.11) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 14:19:50 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2223.sfr.fr (SMTP Server) with ESMTP id 3CFFE7000084 for ; Wed, 15 Apr 2009 16:19:46 +0200 (CEST) Received: from [223.200.200.12] (121.138.84-79.rev.gaoland.net [79.84.138.121]) by msfrf2223.sfr.fr (SMTP Server) with ESMTP id 125B37000081 for ; Wed, 15 Apr 2009 16:19:46 +0200 (CEST) X-SFR-UUID: 20090415141946752.125B37000081@msfrf2223.sfr.fr Message-ID: <49E5ED01.5040300@free.fr> Date: Wed, 15 Apr 2009 14:21: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: gdb@sourceware.org Subject: x commands in history 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/msg00112.txt.bz2 Hello everyone, I often use x commands to examine memory. http://sourceware.org/gdb/current/onlinedocs/gdb_10.html#SEC71 x/nfu addr With the up arrow, I can later scroll through the commands history, and e.g. repeat previous x commands. However, on this embedded platform, when I scroll through the commands history, the "addr" part of the command is always discarded... For example, if I type (gdb) x/32xb array then gdb only "remembers" (gdb) x/32xb I do not witness this behavior on my desktops (Linux, cygwin). I imagine I am missing some obvious option? How do I make gdb remember the whole x command? -- Regards.