aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-07-06 13:04:11 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-07-06 13:04:11 -0400
commita844296a982bdff7c14dab355de0fca75486add6 (patch)
treea195704067eff26020a86fbeb30bcc7cffb6762e /gdb/value.h
parentf41cbf58f4af65e8612585c45208f3690a39ea28 (diff)
downloadgdb-a844296a982bdff7c14dab355de0fca75486add6.zip
gdb-a844296a982bdff7c14dab355de0fca75486add6.tar.gz
gdb-a844296a982bdff7c14dab355de0fca75486add6.tar.bz2
Cleanup value_fetch_lazy's comment and return value
The comment for value_fetch_lazy seems outdated. It says that it's only called from the value_contents and value_contents_all (macros!), which is not true. Also, the return value seems useless now, despite what the comment says. gdb/ChangeLog: * value.c (value_fetch_lazy): Update comment, change return value to void. * value.h (value_fetch_lazy): Change return value to void.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 957bcd4..7ff6aa8 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -361,7 +361,7 @@ extern const gdb_byte *value_contents_for_printing (struct value *value);
extern const gdb_byte *
value_contents_for_printing_const (const struct value *value);
-extern int value_fetch_lazy (struct value *val);
+extern void value_fetch_lazy (struct value *val);
/* If nonzero, this is the value of a variable which does not actually
exist in the program, at least partially. If the value is lazy,