VirtualBox

Changeset 35504 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Jan 12, 2011 2:50:03 PM (14 years ago)
Author:
vboxsync
Message:

MachineDebugger::GetRegister: Added missing setError calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp

    r35502 r35504  
    11611161                }
    11621162            }
     1163            else if (vrc == VERR_DBGF_REGISTER_NOT_FOUND)
     1164                hrc = setError(E_FAIL, tr("Register '%s' was not found"), strName.c_str());
     1165            else if (vrc == VERR_INVALID_CPU_ID)
     1166                hrc = setError(E_FAIL, tr("Invalid CPU ID: %u"), a_idCpu);
     1167            else
     1168                hrc = setError(VBOX_E_VM_ERROR,
     1169                               tr("DBGFR3RegNmQuery failed with rc=%Rrc querying register '%s' with default cpu set to %u"),
     1170                               vrc, strName.c_str(), a_idCpu);
    11631171        }
    11641172    }
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