[PATCH] gdb: make gdbarch_make_corefile_notes return a unique ptr
Tom Tromey
tom@tromey.com
Wed Oct 21 14:30:03 GMT 2020
>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
Simon> This patch starts by making the gdbarch_make_corefile_notes function
Simon> return a gdb::unique_xmalloc_ptr<char> and takes care of the fallouts,
Simon> mostly in linux-tdep.c and fbsd-tdep.c.
Seems like a good idea to me, and the implementation looked good as
well. Thank you.
Tom
More information about the Gdb-patches
mailing list