Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Marc Mason <mpeg.blue@free.fr>
To: gdb@sourceware.org
Subject: x commands in history
Date: Wed, 15 Apr 2009 14:21:00 -0000	[thread overview]
Message-ID: <49E5ED01.5040300@free.fr> (raw)

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.


             reply	other threads:[~2009-04-15 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 14:21 Marc Mason [this message]
2009-04-15 16:00 ` Daniel Jacobowitz
2009-04-15 17:16   ` Marc Mason
2009-04-15 17:34     ` Daniel Jacobowitz
2009-04-16 11:15       ` Marc Mason
2009-04-16 17:06     ` Antony KING
2009-04-17 13:12       ` Marc Mason
2009-04-17 19:48         ` Antony KING

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49E5ED01.5040300@free.fr \
    --to=mpeg.blue@free.fr \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox