From 725e88af6f58af3fabc8bb345a9a0ee878801f35 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 27 Aug 2009 23:37:35 +0000 Subject: [PATCH] * value.c (free_all_values): Tweak comment. --- gdb/ChangeLog | 2 ++ gdb/value.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 374be95ed66..2e74c8f0d5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2009-08-27 Doug Evans + * 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 48fedfd3087..330ab156956 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) -- 2.30.2