This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: don't call add_target for thread_db_ops


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]