gdb: link so_list using intrusive_list
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 14:55:38 +0000 (10:55 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Oct 2023 14:57:51 +0000 (10:57 -0400)
commit8971d2788e79db2ffc1205ed36935483eedf2fab
treeff5dead00b54316d0786af5c6558c41f6407c143
parent98107b0b17acd9d2c28829cbe93a75b72677d220
gdb: link so_list using intrusive_list

Replace the hand-made linked list implementation with intrusive_list,
simplying management of list items.

Change-Id: I7f55fd88325bb197cc655c9be5a2ec966d8cc48d
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
12 files changed:
gdb/mi/mi-cmd-file.c
gdb/progspace.c
gdb/progspace.h
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