This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x commands in history


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]