This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Precord RFA/RFC] Check Linux sys_brk release memory in process record and replay.
> 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?