From 09e3c4ca13e39b797b91b07280ac025327a8a526 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 23 Jan 2019 15:11:42 -0700 Subject: Update two cleanup comments This updates another couple of comments to remove mentions of cleanups. gdb/ChangeLog 2019-03-06 Tom Tromey * inferior.h (class inferior): Update comment. * gdbthread.h (class thread_info): Update comment. --- gdb/inferior.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/inferior.h') 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. */ -- cgit v1.1