diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2014-12-02 17:19:11 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2014-12-02 17:22:07 -0500 |
commit | 5da3ffc99d0ec7d0770b4fcf8830ffe05d39b1b8 (patch) | |
tree | 9e142a84ead42b6710e717027412e388a8a29c38 | |
parent | 162078c893bb9614d4bf5e0d60ad567fcaf8e2bd (diff) | |
download | gdb-5da3ffc99d0ec7d0770b4fcf8830ffe05d39b1b8.zip gdb-5da3ffc99d0ec7d0770b4fcf8830ffe05d39b1b8.tar.gz gdb-5da3ffc99d0ec7d0770b4fcf8830ffe05d39b1b8.tar.bz2 |
Fix comment typo
ChangeLog:
* common/cleanups.c (make_cleanup_dtor): Fix comment typo.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/common/cleanups.c | 2 |
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 * |