From 5da3ffc99d0ec7d0770b4fcf8830ffe05d39b1b8 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 2 Dec 2014 17:19:11 -0500 Subject: [PATCH] Fix comment typo 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 acb07866550..f32b6b980b9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-12-02 Simon Marchi + + * common/cleanups.c (make_cleanup_dtor): Fix comment typo. + 2014-12-02 Nick Bull * NEWS: Mention new Python events. diff --git a/gdb/common/cleanups.c b/gdb/common/cleanups.c index 49b643b1fd9..80271fd8ee3 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.30.2