gdb: make so_list::{so_original_name,so_name} std::strings
authorSimon Marchi <simon.marchi@efficios.com>
Sun, 8 Oct 2023 01:16:29 +0000 (01:16 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 14:57:51 +0000 (10:57 -0400)
commit98107b0b17acd9d2c28829cbe93a75b72677d220
treefcbc63a8764ed76342d61e040e92cc2f61a8764e
parent200b85632a99e749e14d1c026b7e24c15a5e2776
gdb: make so_list::{so_original_name,so_name} std::strings

Change these two fields, simplifying memory management and copying.

Change-Id: If2559284c515721e71e1ef56ada8b64667eebe55
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
13 files changed:
gdb/break-catch-load.c
gdb/breakpoint.c
gdb/bsd-uthread.c
gdb/mi/mi-cmd-file.c
gdb/solib-aix.c
gdb/solib-darwin.c
gdb/solib-dsbt.c
gdb/solib-frv.c
gdb/solib-rocm.c
gdb/solib-svr4.c
gdb/solib-target.c
gdb/solib.c
gdb/solist.h