Bug 5202 - LogicMemory poke of code which has a breakpoint
Summary: LogicMemory poke of code which has a breakpoint
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 05:03 UTC by Mark Wielaard
Modified: 2007-10-21 05:03 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2007-10-21 05:03:51 UTC
Currently when trying to poke code which has breakpoint installed through the
LogicalMemoryBuffer will fail. You can only change memory which the core isn't
using itself at the moment. When changing memory on which the core has put
software breakpoint instructions the set-aside memory of the Instruction should
be changed (so that if the breakpoint is removed or stepped the new code is used).

This is a little tricky to change. When a Breakpoint is found installed the
underlying Instruction class should be altered (but Instruction is currently a
immutable class). Care should be taken if the Breakpoint is currently stepped,
or if the memory is changed asynchronous from the event thread (which means it
could intersect with a breakpoint being placed right at the same time).