Changeset 18174 in vbox
- Timestamp:
- Mar 24, 2009 11:33:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/VBox/RTAssertShouldPanic-vbox.cpp
r13306 r18174 53 53 # include <iprt/thread.h> 54 54 # include <iprt/asm.h> 55 # include <iprt/param.h> 55 56 #endif 56 57 … … 110 111 /* Try spawn the process. */ 111 112 char szCmd[512]; 112 RTStrPrintf(szCmd, sizeof(szCmd), "%s program %d", pszGdb, RTProcSelf()); 113 char szExecName[RTPATH_MAX]; 114 if (!RTProcGetExecutableName((szExecName), sizeof(szExecName))) 115 strcpy(szExecName, ""); 116 RTStrPrintf(szCmd, sizeof(szCmd), "%s -p %d %s", pszGdb, RTProcSelf(), szExecName); 113 117 const char *apszArgs[] = 114 118 {
Note:
See TracChangeset
for help on using the changeset viewer.