This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: don't call add_target for thread_db_ops
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Jul 2013 08:14:41 -0600
- Subject: Re: RFC: don't call add_target for thread_db_ops
- References: <1372783053-14925-1-git-send-email-tromey at redhat dot com> <51D3E4CB dot 3060801 at redhat dot com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>> * linux-thread-db.c (init_thread_db_ops): Call
>> complete_target_initialization.
>> (_initialize_thread_db): Don't call add_target.
>> * target.c (complete_target_initialization): New function.
>> (add_target_with_completer): Call it.
>> * target.h (complete_target_initialization): Declare.
Pedro> This is OK.
Thanks. I'm checking it in now.
Tom