This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb::{unique_ptr,move} -> std::{unique_ptr,move}
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Nov 2016 19:55:35 +0000
- Subject: Re: [PATCH] gdb::{unique_ptr,move} -> std::{unique_ptr,move}
- Authentication-results: sourceware.org; auth=none
- References: <1478653644-22187-1-git-send-email-palves@redhat.com>
On 11/09/2016 01:07 AM, Pedro Alves wrote:
> Now that we require C++11, use std::unique_ptr and std::move directly.
>
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Alves <palves@redhat.com>
>
> * ada-lang.c (create_excep_cond_exprs): Use std::move instead of
> gdb::move.
> * break-catch-throw.c (handle_gnu_v3_exceptions): Use
> std::unique_ptr instead of gdb::unique_ptr.
> * breakpoint.c (watch_command_1): Use std::move instead of
> gdb::move.
> * cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
> std::unique_ptr instead of gdb::unique_ptr.
> * dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
> of gdb::move.
> * elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
> instead of gdb::unique_ptr.
> * mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
> instead of gdb::unique_ptr.
> * parse.c (parse_expression_for_completion): Use std::move instead
> of gdb::move.
> * printcmd.c (display_command): std::move instead of gdb::move.
Pushed.
Thanks,
Pedro Alves