diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-02 10:50:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-01 20:47:14 -0400 |
commit | 8e5f15165784296f5b182f486817cd5945960c44 (patch) | |
tree | f3d50c796ae717a3242514848a6d49e92f21be5f /sim/common/ChangeLog | |
parent | d113096b47e4cce45e0f2ea4bb588b8a86835648 (diff) | |
download | gdb-8e5f15165784296f5b182f486817cd5945960c44.zip gdb-8e5f15165784296f5b182f486817cd5945960c44.tar.gz gdb-8e5f15165784296f5b182f486817cd5945960c44.tar.bz2 |
sim: add framework for declaring init callbacks locally
To facilitate decentralized module initialization/registration with an
eye towards multi-target support, add a framework to detect init calls
declared in the source and automatically call them. This is akin to
gdb's _initialize_xxx framework for letting modules autodiscover.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r-- | sim/common/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3983e24..d006963 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,19 @@ 2021-05-01 Mike Frysinger <vapier@gentoo.org> + * Make-common.in (LIB_OBJS): Add modules.o. + (generated_files): Add modules.c. + (modules.c): New target. + * sim-module.c (modules): Rename to ... + (early_modules): ... this. Delete 0 sentinel. + (early_modules_len): Define. + (sim_modules_detected, sim_modules_detected_len): Declare. + (sim_pre_argv_init): Call sim_module_install_list. + (sim_module_install): New function. + (sim_module_install_list): New function. + * sim-module.h (sim_module_install_list): Declare. + +2021-05-01 Mike Frysinger <vapier@gentoo.org> + * nrun.c (strsignal): New prototype. 2021-05-01 Mike Frysinger <vapier@gentoo.org> |