diff options
author | Doug Evans <dje@google.com> | 2014-02-24 14:01:45 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-02-24 14:01:45 -0800 |
commit | eddf0baefe616104691f026987c9a74693cc45f2 (patch) | |
tree | 4ee987296032f84de5e272e6d0c5bfd966192012 /gdb/value.c | |
parent | 50cc37c8491b151ac4fd22d8bd45387bf3cb75da (diff) | |
download | gdb-eddf0baefe616104691f026987c9a74693cc45f2.zip gdb-eddf0baefe616104691f026987c9a74693cc45f2.tar.gz gdb-eddf0baefe616104691f026987c9a74693cc45f2.tar.bz2 |
* value.c (record_latest_value): Fix comment.
* printcmd.c (print_command_1): Remove code to handle -1 return from
record_latest_value.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c index 73ba18e..50b0245 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1642,9 +1642,7 @@ set_value_component_location (struct value *component, /* Access to the value history. */ /* Record a new value in the value history. - Returns the absolute history index of the entry. - Result of -1 indicates the value was not saved; otherwise it is the - value history index of this new item. */ + Returns the absolute history index of the entry. */ int record_latest_value (struct value *val) |