Changeset 39477 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Nov 30, 2011 4:02:17 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75132
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r39450 r39477 663 663 PUVM pUVM = pConsole->mpUVM = VMR3GetUVM(pVM); 664 664 VMR3RetainUVM(pUVM); 665 int vrc = pConsole->configConstructorInner(pVM, &alock); 665 int vrc; 666 try 667 { 668 vrc = pConsole->configConstructorInner(pVM, &alock); 669 } 670 catch (...) 671 { 672 vrc = VERR_UNEXPECTED_EXCEPTION; 673 } 666 674 if (RT_FAILURE(vrc)) 667 675 { … … 1117 1125 #endif 1118 1126 } 1119 /* 1120 * Enable 3 following devices: HPET, SMC, LPC on MacOS X guests or on ICH9 chipset 1121 */ 1127 1128 /* 1129 * Enable the following devices: HPET, SMC and LPC on MacOS X guests or on ICH9 chipset 1130 */ 1131 1122 1132 /* 1123 1133 * High Precision Event Timer (HPET) … … 2631 2641 } 2632 2642 } 2643 } 2644 2645 /* 2646 * Set up the default DBGF search paths if all is cool so far. 2647 */ 2648 { 2649 PCFGMNODE pDbgf; 2650 InsertConfigNode(pRoot, "DBGF", &pDbgf); 2651 2652 hrc = pMachine->COMGETTER(SettingsFilePath)(bstr.asOutParam()); H(); 2653 Utf8Str strSettingsPath(bstr); 2654 bstr.setNull(); 2655 strSettingsPath.stripFilename(); 2656 2657 char szHomeDir[RTPATH_MAX]; 2658 rc = RTPathUserHome(szHomeDir, sizeof(szHomeDir)); 2659 if (RT_FAILURE(rc)) 2660 szHomeDir[0] = '\0'; 2661 2662 Utf8Str strPath; 2663 strPath.append(strSettingsPath).append("/debug/;"); 2664 strPath.append(strSettingsPath).append("/;"); 2665 strPath.append(szHomeDir).append("/"); 2666 2667 InsertConfigString(pDbgf, "Path", strPath.c_str()); 2633 2668 } 2634 2669 }
Note:
See TracChangeset
for help on using the changeset viewer.