Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* x commands in history
@ 2009-04-15 14:21 Marc Mason
  2009-04-15 16:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Mason @ 2009-04-15 14:21 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-17 17:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-15 14:21 x commands in history Marc Mason
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox