VirtualBox

Changeset 84158 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
May 6, 2020 10:20:16 AM (5 years ago)
Author:
vboxsync
Message:

dbgcMachoCpuType: the type and sub-types are int32_t not uint32_t.

File:
1 edited

Legend:

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

    r83081 r84158  
    465465
    466466
    467 static const char *dbgcMachoCpuType(uint32_t uType, uint32_t uSubType)
    468 {
    469     switch (uType)
     467static const char *dbgcMachoCpuType(int32_t iType, int32_t iSubType)
     468{
     469    switch (iType)
    470470    {
    471471        case CPU_TYPE_ANY:          return "CPU_TYPE_ANY";
     
    474474        case CPU_TYPE_X86:          return "X86";
    475475        case CPU_TYPE_X86_64:
    476             switch (uSubType)
     476            switch (iSubType)
    477477            {
    478478                case CPU_SUBTYPE_X86_64_ALL:    return "X86_64/ALL64";
Note: See TracChangeset for help on using the changeset viewer.

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