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 | abf54b01ee4e794c8779610d09e26934e24f26eb (patch) | |
tree | 1d3ed41e799c031eb5a2b131b65976db0d124483 /gdb/bsd-uthread.c | |
parent | c6816376ddbfefdf09ff2c03747abd0660626e83 (diff) | |
download | gdb-abf54b01ee4e794c8779610d09e26934e24f26eb.tar.gz |
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/bsd-uthread.c')
-rw-r--r-- | gdb/bsd-uthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c index 6a07985a5df..0a2ea8174db 100644 --- a/gdb/bsd-uthread.c +++ b/gdb/bsd-uthread.c @@ -547,7 +547,7 @@ extern initialize_file_ftype _initialize_bsd_uthread; void _initialize_bsd_uthread (void) { - add_target (bsd_uthread_target ()); + complete_target_initialization (bsd_uthread_target ()); bsd_uthread_data = gdbarch_data_register_pre_init (bsd_uthread_init); |