VirtualBox

Changeset 84710 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 5, 2020 6:32:02 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138484
Message:

VMM/DBGF: Add DBGFR3GetCpuState() to return the current CPU state as a human readable string [Windows build fix]

File:
1 edited

Legend:

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

    r84709 r84710  
    191191        case VMCPUSTATE_STARTED_HALTED:            return "Started (Halted)";
    192192        case VMCPUSTATE_END:                       return "END";
    193         default:
    194             AssertMsgFailedReturn(("Unknown CPU state %u\n", enmCpuState), "<UNKNOWN>");
     193        default: break;
    195194    }
    196195
    197     /* This indicates a compiler bug. */
    198     return NULL;
     196    AssertMsgFailedReturn(("Unknown CPU state %u\n", enmCpuState), "<UNKNOWN>");
    199197}
    200198
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