This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: Adding breakpoints
On Mon, 2006-07-03 at 19:57 +0200, Mark Wielaard wrote:
> Some open questions on which I hope to get answers when implementing
> the rest (or maybe someone already has ideas on these):
>
> - Breakpoints should be removed from a cloned task, or shouldn't they?
> Or should that be a property per observer?
Just to answer my own question/confusion after having played a bit more
with it all. A cloned task shares the address space with the original
task so they do share all breakpoints set (or unset). This means that we
need a bit more administration. Cloned Tasks need to share their
BreakpointAddresses. It also means that if we want to continue the
process by temporarily erasing the breakpoint, setting back the original
code and stepping and putting back the breakpoint then we must make sure
all cloned tasks are suspended till we have set back the breakpoint.
Otherwise they might miss a breakpoint.
Mark