This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] comment clean-up in do_my_cleanups
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 17 Dec 2010 16:13:05 -0800
- Subject: [patch] comment clean-up in do_my_cleanups
Checking this in as obvious.
2010-12-17 Michael Snyder <msnyder@vmware.com>
* utils.c (do_my_cleanups): Comment fix-up.
Index: utils.c
===================================================================
RCS file: /cvs/src/src/gdb/utils.c,v
retrieving revision 1.240
diff -u -p -r1.240 utils.c
--- utils.c 11 Sep 2010 16:00:25 -0000 1.240
+++ utils.c 18 Dec 2010 00:10:20 -0000
@@ -475,7 +475,7 @@ do_my_cleanups (struct cleanup **pmy_cha
while ((ptr = *pmy_chain) != old_chain)
{
- *pmy_chain = ptr->next; /* Do this first incase recursion */
+ *pmy_chain = ptr->next; /* Do this first in case of recursion. */
(*ptr->function) (ptr->arg);
if (ptr->free_arg)
(*ptr->free_arg) (ptr->arg);