Re: [PATCH] value.c (record_latest_value): Fix comment.

Doug Evans
2014-02-24T22:02:57Z

On Thu, Feb 20, 2014 at 5:28 PM, Doug Evans <dje@google.com> wrote:
> Doug Evans writes:
> > Hi.
> >
> > This patch fixes a comment that was found to be wrong in this thread:
> >
> > https://sourceware.org/ml/gdb-patches/2014-02/msg00674.html
> >
> > I checked as far back as 6.1.1, and it's never returned -1.
> > [I could go back further, but I don't see the point.]
> >
> > 2014-02-20 Doug Evans <dje@google.com>
> >
> > * value.c (record_latest_value): Fix comment.
>
> Hmmm, even part of gdb still thinks record_latest_value can return -1.
>
> 2014-02-20 Doug Evans <dje@google.com>
>
> * value.c (record_latest_value): Fix comment.
> * printcmd.c (print_command_1): Remove code to handle -1 return from
> record_latest_value.

Committed.