This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Date: Tue, 5 May 2009 21:07:13 +0800
> From: Hui Zhu <teawater@gmail.com>
> Cc: Michael Snyder <msnyder@vmware.com>
> 
> 15		sbrk (-10);
> (gdb)
> The next instruction is syscall brk.  It will release the memory that
> will cause process record target get error.  Do you want to stop the
> inferior?([y] or n)

Does every sbrk call with a negative argument cause an error in
process record target?  What is the reason for that error?

I'm asking because the message wording sounds very threatening.  It
probably needs rephrasing, but I need to understand the reasons better
to suggest how.

> 	* gdbarch.sh (process_record_reset): This interface point to
> 	the function that reset the architecture process record and
> 	replay.

I think "reset" is not the best name for this.  How about
"initialize"?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]