VirtualBox

Changeset 106375 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 16, 2024 1:41:24 PM (5 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165188
Message:

VMM/NEMR3Native-darwin-armv8.cpp: Implement support for breakpoints and single stepping in the VM debugger, bugref:10393 [missing file]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r106061 r106375  
    884884                else if (pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_HM)
    885885                    rc = EMR3HmSingleInstruction(pVM, pVCpu, 0 /*fFlags*/);
    886 #endif
    887886                else if (pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_NEM)
    888887                    rc = VBOXSTRICTRC_TODO(emR3NemSingleInstruction(pVM, pVCpu, 0 /*fFlags*/));
     
    893892                        rc = VINF_EM_DBG_STEPPED;
    894893                }
    895 #ifndef VBOX_VMM_TARGET_ARMV8
     894
    896895                if (rc != VINF_EM_EMULATE_SPLIT_LOCK)
    897896                { /* likely */ }
     
    902901                        rc = VINF_EM_DBG_STEPPED;
    903902                }
     903#else
     904                AssertMsg(pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_NEM,
     905                          ("%u\n", pVCpu->em.s.enmState));
     906                rc = VBOXSTRICTRC_TODO(emR3NemSingleInstruction(pVM, pVCpu, 0 /*fFlags*/));
    904907#endif
    905908                break;
     
    23992402                    else
    24002403                    {
     2404#ifdef VBOX_VMM_TARGET_ARMV8
     2405                        Log2(("EMR3ExecuteVM: %Rrc: %d -> %d\n", rc, enmOldState, EMSTATE_DEBUG_GUEST_NEM));
     2406                        pVCpu->em.s.enmState = EMSTATE_DEBUG_GUEST_NEM; /** @todo No IEM yet and this gets selected if enmOldState == EMSTATE_HALTED. */
     2407#else
    24012408                        Log2(("EMR3ExecuteVM: %Rrc: %d -> %d\n", rc, enmOldState, EMSTATE_DEBUG_GUEST_IEM));
    24022409                        pVCpu->em.s.enmState = EMSTATE_DEBUG_GUEST_IEM;
     2410#endif
    24032411                    }
    24042412                    break;
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