aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-23 15:11:42 -0700
committerTom Tromey <tom@tromey.com>2019-03-06 14:05:28 -0700
commit09e3c4ca13e39b797b91b07280ac025327a8a526 (patch)
treebf7682aa4d2aaa6e047924c841cf2cc657d67ee8 /gdb/inferior.h
parente2a035485a80651a5dc1711fee5a811e41ab131b (diff)
downloadfsf-binutils-gdb-09e3c4ca13e39b797b91b07280ac025327a8a526.zip
fsf-binutils-gdb-09e3c4ca13e39b797b91b07280ac025327a8a526.tar.gz
fsf-binutils-gdb-09e3c4ca13e39b797b91b07280ac025327a8a526.tar.bz2
Update two cleanup comments
This updates another couple of comments to remove mentions of cleanups. gdb/ChangeLog 2019-03-06 Tom Tromey <tom@tromey.com> * inferior.h (class inferior): Update comment. * gdbthread.h (class thread_info): Update comment.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 2d1bb97..f98e67d 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -335,7 +335,7 @@ extern void set_current_inferior (inferior *);
the inferior object's refcount, to prevent something deleting the
inferior object before reverting back (e.g., due to a
"remove-inferiors" command (see
- make_cleanup_restore_current_thread). All other inferior
+ scoped_restore_current_inferior). All other inferior
references are considered weak references. Inferiors are always
listed exactly once in the inferior list, so placing an inferior in
the inferior list is an implicit, not counted strong reference. */