|Summary:||single-step sigreturn when trapped instruction is a breakpoint|
|Product:||frysk||Reporter:||Andrew Cagney <cagney>|
|Bug Depends on:|
|Bug Blocks:||1521, 1522|
Description Andrew Cagney 2006-11-22 17:22:14 UTC
Check that single stepping the sig-return instruction, returning to the trapped instruction in the callee, where that trapped instruction has been replaced by a breakpoint, triggers bith the code and instruction observers, and doesn't go one instruction too far.
Comment 1 Mark Wielaard 2007-02-13 13:31:24 UTC
Most of this is tested by the testStepping* variants in TestBreakpoints, counters on both Instruction and Code observers are observed. An explicit test could be added for "doesn't go one instruction too far".
Comment 2 Andrew Cagney 2007-02-15 14:26:20 UTC
Checking is is very important, kernel and code bugs if encountered in the past have exibited exactly those edge case problems - executing the instruction, continuing, ...