[Precord RFA/RFC] Check Linux sys_brk release memory in process record and replay.
Eli Zaretskii
eliz@gnu.org
Thu May 7 03:20:00 GMT 2009
> 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?
More information about the Gdb-patches
mailing list