[PATCH v2 00/24] Multi-target support

Pedro Alves palves@redhat.com
Thu Jan 9 19:50:00 GMT 2020


On 1/9/20 7:31 PM, John Baldwin wrote:
> On 10/29/19 12:13 PM, Pedro Alves wrote:

>> For bsd-kvm.c, I _think_ that the only change necessary to keep things
>> building would be this:
>>
>> --- a/gdb/bsd-kvm.c
>> +++ b/gdb/bsd-kvm.c
>> @@ -136,7 +136,7 @@ bsd_kvm_target_open (const char *arg, int from_tty)
>>    core_kd = temp_kd;
>>    push_target (&bsd_kvm_ops);
>>  
>> -  add_thread_silent (bsd_kvm_ptid);
>> +  add_thread_silent (&bsd_kvm_ops, bsd_kvm_ptid);
>>    inferior_ptid = bsd_kvm_ptid;
>>
>> Right?  See updated patch below.
> 
> Ok, this works for me.

Excellent!  I think I'll be merging this soon, just need to
address Aktemur's latest comments.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list