aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/common/cleanups.c2
2 files changed, 5 insertions, 1 deletions
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 *