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: [RFA] Linux Checkpoint/Restart, take 2 (footnote)


On Fri, Dec 23, 2005 at 01:52:03PM -0800, Michael Snyder wrote:
> But if we do that for a checkpoint fork, it's not gonna work,
> because when THAT process was created, it was in a function
> (fork) that was called by gdb.  So its register state and stack
> are in the state as set up by Call-Function-By-Hand.  In other
> words, when it was "frozen", it was before returning to CFBH,
> and therefore CFBH had not yet had a chance to restore the
> pre-CFBH register state.

Ah-hah!  Thanks, that makes perfect sense.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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