Question: Consider the breakpoint scheme described in Section 4.2.5. A software-interrupt in- struction replaces a program instruction where the breakpoint is inserted. Before it returns to
Consider the breakpoint scheme described in Section 4.2.5. A software-interrupt in- struction replaces a program instruction where the breakpoint is inserted. Before it returns to the original program. the debugging software puts the original program instruction back in its place, thus removing the breakpoint. Explain how the debugger can put the original program instruction in its place, execute it, then install the breakpoint again before any other program instruction is executed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
