gdb: make so_list::lm_info a unique_ptr
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 10 Oct 2023 18:47:13 +0000 (14:47 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 14:57:51 +0000 (10:57 -0400)
commit7ad0a42e88c09b4046205316bd6352dfb31afd79
treeb64102b23c6e0bcd53196a21e2c11ba919c6b61f
parent1c0dfccba7bac021456198597fdce080d4a8315b
gdb: make so_list::lm_info a unique_ptr

Make it a unique_ptr, so it gets automatically deleted when the so_list
is deleted.

Change-Id: Ib62d60ae2a80656239860b80e4359121c93da13d
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
gdb/nto-tdep.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