bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pushed][PATCH v3 1/4] Extended-remote follow exec


From: Tom Tromey
Subject: Re: [pushed][PATCH v3 1/4] Extended-remote follow exec
Date: Thu, 14 Feb 2019 10:26:25 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

>>>>> "Thomas" == Thomas Schwinge <thomas@codesourcery.com> writes:

Thomas> +             struct cleanup *old_chain = make_cleanup (xfree, 
pathname);

Please don't add new cleanups to gdb.
We're in the process of removing them all.

Instead you can use gdb::unique_xmalloc_ptr<char>, or std::string, or a
std::vector of some flavor.

thanks,
Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]