mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove the two single step breakpoints in the reverse order of setting to
ensure that single stepping a branch to the next instruction works.
This commit is contained in:
parent
398a2b53c4
commit
46e5fdffb9
1 changed files with 5 additions and 5 deletions
|
|
@ -23,7 +23,7 @@
|
|||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: db_run.c,v 1.14 1998/06/07 17:09:37 dfr Exp $
|
||||
* $Id: db_run.c,v 1.15 1998/06/28 00:52:50 dfr Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -288,14 +288,14 @@ db_clear_single_step(regs)
|
|||
{
|
||||
register db_breakpoint_t bkpt;
|
||||
|
||||
if (db_taken_bkpt != 0) {
|
||||
db_delete_temp_breakpoint(db_taken_bkpt);
|
||||
db_taken_bkpt = 0;
|
||||
}
|
||||
if (db_not_taken_bkpt != 0) {
|
||||
db_delete_temp_breakpoint(db_not_taken_bkpt);
|
||||
db_not_taken_bkpt = 0;
|
||||
}
|
||||
if (db_taken_bkpt != 0) {
|
||||
db_delete_temp_breakpoint(db_taken_bkpt);
|
||||
db_taken_bkpt = 0;
|
||||
}
|
||||
}
|
||||
|
||||
#endif SOFTWARE_SSTEP
|
||||
|
|
|
|||
Loading…
Reference in a new issue