Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit] Fix comment for free_all_values
@ 2009-08-28  0:14 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-08-28  0:14 UTC (permalink / raw)
  To: gdb-patches

Hi.

free_all_values is called before each command, not after.

I changed the comment thusly.
I can change the wording however y'all want.

2009-08-27  Doug Evans  <dje@google.com>

	* value.c (free_all_values): Tweak comment.

Index: value.c
===================================================================
RCS file: /cvs/src/src/gdb/value.c,v
retrieving revision 1.93
diff -u -p -r1.93 value.c
--- value.c	19 Aug 2009 13:00:28 -0000	1.93
+++ value.c	27 Aug 2009 23:34:55 -0000
@@ -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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-27 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28  0:14 [commit] Fix comment for free_all_values Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox