Re: [PATCH 13/24] gdb: make solib-rocm not use so_list internally

Pedro Alves
2023-10-17T15:23:45Z

On 2023-10-10 21:40, Simon Marchi wrote:

> --- a/gdb/solib-rocm.c
> +++ b/gdb/solib-rocm.c
> @@ -126,14 +126,26 @@ rocm_solib_fd_cache::close (int fd, fileio_error *target_errno)
>
> /* ROCm-specific inferior data. */
>
> +struct rocm_so
> +{
> + rocm_so (const char *name, std::string unique_name, lm_info_svr4_up lm_info)
> + : name (name),
> + unique_name (std::move(unique_name)),

Space after "move".