VirtualBox

Changeset 66996 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 22, 2017 8:04:18 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115551
Message:

DBGConsole.cpp/BREAKPOINT: Set RF to simplify resuming code (ignores breakpoint).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGConsole.cpp

    r64721 r66996  
    705705            }
    706706            if (RT_SUCCESS(rc) && DBGFR3IsHalted(pDbgc->pUVM))
     707            {
    707708                rc = pDbgc->CmdHlp.pfnExec(&pDbgc->CmdHlp, "r");
     709
     710                /* Set the resume flag to ignore the breakpoint when resuming execution. */
     711                if (   RT_SUCCESS(rc)
     712                    && pEvent->enmType == DBGFEVENT_BREAKPOINT)
     713                    rc = pDbgc->CmdHlp.pfnExec(&pDbgc->CmdHlp, "r eflags.rf = 1");
     714            }
    708715            else
    709716                pDbgc->fRegCtxGuest = fRegCtxGuest;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette