gdb: remove lm_info_vector typedef
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 10 Oct 2023 18:56:11 +0000 (14:56 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 14:57:51 +0000 (10:57 -0400)
commit1c0dfccba7bac021456198597fdce080d4a8315b
tree8a552bf2ea76d51073fd8f445d9fbd95197f9efc
parent5340140e1b01c0ce13ee2b11a278e6d8869a972a
gdb: remove lm_info_vector typedef

I think this typedef hinders readability.  First, it's not well named
(it's not clear it contains lm_info_target objects).  And hiding the
fact that it contains unique pointers is not very useful either.  I was
looking at the code in solib_target_current_sos where the unique
pointers get moved from the vector, and it wasn't obvious at all what
the source of the move was.

Change-Id: I4a5cda7c90554f018b7c466b1535b41d69cbcbe7
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
gdb/solib-target.c