Bug 3562 - single-step sigreturn when trapped instruction is a breakpoint
Summary: single-step sigreturn when trapped instruction is 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: 1521 1522
  Show dependency treegraph
 
Reported: 2006-11-22 17:22 UTC by Andrew Cagney
Modified: 2007-02-15 14:26 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 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, ...