mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
more add_target removals
This removes a few more erroneous calls to add_target. These calls end up installing the target in a user-visible way; but these targets are all auto-activated and, I think, should never be explicitly requested. I have no way to test these. * aix-thread.c (_initialize_aix_thread): Use complete_target_initialization. * bsd-uthread.c (_initialize_bsd_uthread): Use complete_target_initialization. * dec-thread.c (_initialize_dec_thread): Use complete_target_initialization. * ravenscar-thread.c (_initialize_ravenscar): Use complete_target_initialization. * sol-thread.c (_initialize_sol_thread): Use complete_target_initialization. * spu-multiarch.c (_initialize_spu_multiarch): Use complete_target_initialization.
This commit is contained in:
@ -1276,7 +1276,7 @@ _initialize_sol_thread (void)
|
||||
resolve (td_thr_getgregs);
|
||||
resolve (td_thr_setgregs);
|
||||
|
||||
add_target (&sol_thread_ops);
|
||||
complete_target_initialization (&sol_thread_ops);
|
||||
|
||||
add_cmd ("sol-threads", class_maintenance, info_solthreads,
|
||||
_("Show info on Solaris user threads."), &maintenanceinfolist);
|
||||
|
Reference in New Issue
Block a user