This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Use unique_xmalloc_ptr for read_string
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 Jun 2018 08:44:45 -0600
- Subject: Re: [RFA] Use unique_xmalloc_ptr for read_string
- References: <20180521204146.17553-1-tom@tromey.com>
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> This changes read_string's "buffer" out-parameter to be a
Tom> unique_xmalloc_ptr, then updates the users. This allows for the
Tom> removal of some cleanups.
Tom> I chose unique_xmalloc_ptr rather than byte_vector here due to the way
Tom> Guile unwinding seems to work.
Tom> Tested by the buildbot.
Ping.
Tom