Re: [Precord RFA/RFC] Check Linux sys_brk release memory in process record and replay.

Hui Zhu
2009-05-11T07:06:58Z

PING.

On Thu, May 7, 2009 at 11:20, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Thu, 7 May 2009 10:21:04 +0800
>> From: Hui Zhu <teawater@gmail.com>
>> Cc: gdb-patches@sourceware.org, msnyder@vmware.com
>>
>> > I thought the problem was that replaying the execution log before the
>> > sbrk point would be impossible, because (I thought) there's no way of
>> > regaining back the memory the inferior gave up.  Is this the problem
>> > you are talking about?  If so, that is not a fatal limitation, and it
>> > certainly does not justify stopping the program and asking the user to
>> > make some grave decision.  The user just needs to be notified, when
>> > she tries that, that she cannot reverse-replay the log past this
>> > point.  If the user never tries to replay past that point, she never
>> > needs to know about the problem.
>>
>> I am not sure make inferior cannot continue is good or not.  I think
>> let user choice continue or stop is better.
>
> Well, what do others think?
>