[PATCH] Pass unique_ptr to add_thread_with_info

Tom Tromey tom@tromey.com
Thu Aug 10 16:50:18 GMT 2023


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> This changes add_thread_with_info to accept a unique_ptr, making it
Tom> clear that it takes ownership of the passed-in pointer.

Tom> I can't test the AIX or Darwin changes, but I think they are
Tom> relatively obvious.

I'd forgotten about this.
I'm checking in the updated version now.

Tom


More information about the Gdb-patches mailing list