aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-12-18 00:11:46 +0000
committerMichael Snyder <msnyder@vmware.com>2010-12-18 00:11:46 +0000
commit5f2302abf841da9ff30a3005118660c5e8dc41e8 (patch)
treec4f0db583823dc592de358a242a271027bbb32c5
parente010756507996c3491e473ae576d5d56cc5871b9 (diff)
downloadgdb-5f2302abf841da9ff30a3005118660c5e8dc41e8.zip
gdb-5f2302abf841da9ff30a3005118660c5e8dc41e8.tar.gz
gdb-5f2302abf841da9ff30a3005118660c5e8dc41e8.tar.bz2
2010-12-17 Michael Snyder <msnyder@vmware.com>
* utils.c (do_my_cleanups): Comment fix-up.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 46f4fe4..8f227b2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-17 Michael Snyder <msnyder@vmware.com>
+
+ * utils.c (do_my_cleanups): Comment fix-up.
+
2010-12-17 Kevin Buettner <kevinb@redhat.com>
* mips-tdep.c (make_mips16_addr): New function.
diff --git a/gdb/utils.c b/gdb/utils.c
index 98b8ae3..02c7a37 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -475,7 +475,7 @@ do_my_cleanups (struct cleanup **pmy_chain,
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);