This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH obvious/pushed] Fix comment typo
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Tue, 2 Dec 2014 17:25:01 -0500
- Subject: [PATCH obvious/pushed] Fix comment typo
- Authentication-results: sourceware.org; auth=none
ChangeLog:
* common/cleanups.c (make_cleanup_dtor): Fix comment typo.
---
gdb/ChangeLog | 4 ++++
gdb/common/cleanups.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index acb0786..f32b6b9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-02 Simon Marchi <simon.marchi@ericsson.com>
+
+ * common/cleanups.c (make_cleanup_dtor): Fix comment typo.
+
2014-12-02 Nick Bull <nicholaspbull@gmail.com>
* NEWS: Mention new Python events.
diff --git a/gdb/common/cleanups.c b/gdb/common/cleanups.c
index 49b643b..80271fd 100644
--- a/gdb/common/cleanups.c
+++ b/gdb/common/cleanups.c
@@ -119,7 +119,7 @@ make_cleanup (make_cleanup_ftype *function, void *arg)
return make_my_cleanup (&cleanup_chain, function, arg);
}
-/* Same as make_cleanup except also includes TDOR, a destructor to free ARG.
+/* Same as make_cleanup except also includes DTOR, a destructor to free ARG.
DTOR is invoked when the cleanup is performed or when it is discarded. */
struct cleanup *
--
2.1.3