Force to insert software single step breakpoint
[deliverable/binutils-gdb.git] / gdb / gdbarch.h
index 252fc4bad8160fb3b653a0a577a8f736536f6f2c..859ba857cb52843ebd5e5835700091f6f7f7d70a 100644 (file)
@@ -650,7 +650,12 @@ extern void set_gdbarch_addr_bits_remove (struct gdbarch *gdbarch, gdbarch_addr_
    target can single step.  If not, then implement single step using breakpoints.
   
    A return value of 1 means that the software_single_step breakpoints
-   were inserted; 0 means they were not. */
+   were inserted; 0 means they were not.  Multiple breakpoints may be
+   inserted for some instructions such as conditional branch.  However,
+   each implementation must always evaluate the condition and only put
+   the breakpoint at the branch destination if the condition is true, so
+   that we ensure forward progress when stepping past a conditional
+   branch to self. */
 
 extern int gdbarch_software_single_step_p (struct gdbarch *gdbarch);
 
This page took 0.027581 seconds and 4 git commands to generate.