diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-05 16:54:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-05 16:54:27 +0000 |
commit | 12070676a9aa85a35b0f3e0f5f4a968e1d13e594 (patch) | |
tree | e4a25bca69a44163b9b23cf38dceb0ce519bc987 /gdb/ravenscar-thread.c | |
parent | d6787ef95c1257b1ed49364768608d6f91a98b23 (diff) | |
download | binutils-12070676a9aa85a35b0f3e0f5f4a968e1d13e594.zip binutils-12070676a9aa85a35b0f3e0f5f4a968e1d13e594.tar.gz binutils-12070676a9aa85a35b0f3e0f5f4a968e1d13e594.tar.bz2 |
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.
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r-- | gdb/ravenscar-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 0a3100d..26b8171 100644 --- a/gdb/ravenscar-thread.c +++ b/gdb/ravenscar-thread.c @@ -433,7 +433,7 @@ _initialize_ravenscar (void) ravenscar ops if needed. */ observer_attach_inferior_created (ravenscar_inferior_created); - add_target (&ravenscar_ops); + complete_target_initialization (&ravenscar_ops); add_prefix_cmd ("ravenscar", no_class, set_ravenscar_command, _("Prefix command for changing Ravenscar-specific settings"), |