[RFA v2 11/17] Use gdb::unique_ptr in elf_read_minimal_symbols

Pedro Alves palves@redhat.com
Thu Oct 13 22:44:00 GMT 2016


On 10/13/2016 10:10 PM, Tom Tromey wrote:
> This changes elf_read_minimal_symbols to use gdb::unique_ptr rather
> than an explicit allocation.  This removes a cleanup.
> 
> 2016-09-26  Tom Tromey  <tom@tromey.com>
> 
> 	* elfread.c (elf_read_minimal_symbols): Use gdb::unique_ptr.

OK.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list