This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] value.c (record_latest_value): Fix comment.
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Cc: ludo at gnu dot org, Eli Zaretskii <eliz at gnu dot org>
- Date: Mon, 24 Feb 2014 14:02:53 -0800
- Subject: Re: [PATCH] value.c (record_latest_value): Fix comment.
- Authentication-results: sourceware.org; auth=none
- References: <yjt2eh2x6yzw dot fsf at ruffy dot mtv dot corp dot google dot com> <21254 dot 43965 dot 134829 dot 97097 at ruffy dot mtv dot corp dot google dot com>
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.