This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb::{unique_ptr,move} -> std::{unique_ptr,move}


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]