DBG: don't use CreateProcessInfo->lpStartAddress because it is broken
closes #2099
This commit is contained in:
parent
98d38d94cb
commit
f1fbfd98b3
|
|
@ -1384,7 +1384,7 @@ static void cbCreateProcess(CREATE_PROCESS_DEBUG_INFO* CreateProcessInfo)
|
|||
|
||||
if(settingboolget("Events", "EntryBreakpoint"))
|
||||
{
|
||||
sprintf_s(command, "bp %p,\"%s\",ss", (duint)CreateProcessInfo->lpStartAddress, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "entry breakpoint")));
|
||||
sprintf_s(command, "bp %p,\"%s\",ss", pDebuggedBase + pDebuggedEntry, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "entry breakpoint")));
|
||||
cmddirectexec(command);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue