aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent55333a841d32ff6f428ef0b4ad7a615e0774db38 (diff)
downloadgdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.zip
gdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.tar.gz
gdb-725e88af6f58af3fabc8bb345a9a0ee878801f35.tar.bz2
* value.c (free_all_values): Tweak comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/value.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 374be95..2e74c8f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2009-08-27 Doug Evans <dje@google.com>
+ * value.c (free_all_values): Tweak comment.
+
* NEWS: Add note on "info sharedlibrary".
Remove note on "set print symbol-loading".
* main.c (captured_main): Pass !batch for from_tty when calling
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)