]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/solib: pass lm_info, original_name and name to solib constructor
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 9 Jul 2025 14:12:17 +0000 (10:12 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 18 Sep 2025 19:52:19 +0000 (15:52 -0400)
commit01f3393a178917afd73fb0a1fee41408a43d7047
treebaee01c79058d94e4b65987516f132196908f2c6
parentf80f8c6c0e39cf06298f8ad102a969edecfb3474
gdb/solib: pass lm_info, original_name and name to solib constructor

These values are always known at construction time, so pass them to the
constructor.

Add constructors to some lm_info_* types when it's easy and it makes
things cleaner.

Change-Id: Ie2d751be276470c10c81792a93bf3ddafbcd4c33
Approved-By: Tom Tromey <tom@tromey.com>
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.h