* value.c (free_all_values): Tweak comment.
authorDoug Evans <dje@google.com>
Thu, 27 Aug 2009 23:37:35 +0000 (23:37 +0000)
committerDoug Evans <dje@google.com>
Thu, 27 Aug 2009 23:37:35 +0000 (23:37 +0000)
gdb/ChangeLog
gdb/value.c

index 374be95..2e74c8f 100644 (file)
@@ -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
index 48fedfd..330ab15 100644 (file)
@@ -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)