summaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c
index ee3c9983036..fae8b984711 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -543,9 +543,7 @@ value_available_contents_eq (const struct value *val1, int offset1,
{
int idx1 = 0, idx2 = 0;
- /* This routine is used by printing routines, where we should
- already have read the value. Note that we only know whether a
- value chunk is available if we've tried to read it. */
+ /* See function description in value.h. */
gdb_assert (!val1->lazy && !val2->lazy);
while (length > 0)