From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [commit] Fix comment for free_all_values
Date: Fri, 28 Aug 2009 00:14:00 -0000 [thread overview]
Message-ID: <20090827233907.78A768438A@localhost> (raw)
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)
reply other threads:[~2009-08-27 23:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090827233907.78A768438A@localhost \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox