This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Replace two xmallocs with unique_ptr
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 26 Oct 2016 02:29:14 -0400
- Subject: [binutils-gdb] Replace two xmallocs with unique_ptr
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT cd9da5b077c21f0984cfbdac060ced6f4945ce06 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: cd9da5b077c21f0984cfbdac060ced6f4945ce06
Replace two xmallocs with unique_ptr
This replaces a couple of uses of xmalloc with gdb::unique_ptr, also
removing a couple of cleanups.
2016-10-21 Tom Tromey <tom@tromey.com>
* cli/cli-dump.c (dump_memory_to_file): Use gdb::unique_ptr.
(restore_binary_file): Likewise.