This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Resubmit process record and replay, 7/10
Thanks Michael.
On Thu, Nov 20, 2008 at 09:57, Michael Snyder <msnyder@vmware.com> wrote:
> teawater wrote:
>>
>> This patch add code to make GNU/Linux native-dependent code can record
>> execute log with itself.
>>
>> 2008-11-16 Hui Zhu <teawater@gmail.com>
>>
>> Record execute log in linux-nat.
>>
>> * linux-nat.c (my_waitpid_record): New function. This function
>> can resume and wait inferior and record execute log of it.
>> (linux_nat_wait): If process record and replay target is used
>> and this is not a step resume, call function
>> "my_waitpid_record" instead function "my_waitpid".
>
> Hui, another name change suggestion:
> Instead of "my_waitpid_record", how about "process_record_waitpid"?
>
> I don't think it needs to have "linux" in the name, since it is
> a static function and can only be invoked from linux-nat.c.
>
OK. I will change it.
Hui