aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-08-27 23:37:35 +0000
committerDoug Evans <dje@google.com>2009-08-27 23:37:35 +0000
commit725e88af6f58af3fabc8bb345a9a0ee878801f35 (patch)
tree53fc9ed22e5f073fec471ecc51ee9d2c8f1b5f0e /gdb/value.c
parent55333a841d32ff6f428ef0b4ad7a615e0774db38 (diff)
downloadgdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.zip
gdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.tar.gz
gdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.tar.bz2
* value.c (free_all_values): Tweak comment.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 48fedfd..330ab15 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -638,7 +638,8 @@ value_free_to_mark (struct value *mark)
}
/* Free all the values that have been allocated (except for those released).
- Called after each command, successful or not. */
+ Call after each command, successful or not.
+ In practice this is called before each command, which is sufficient. */
void
free_all_values (void)