mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
L0Debug Win: Always generate module create/destroy events
We have to always generate module create/destroy events to give debugger a chance to insert bp, read/write debuggee memory etc even there is no debug data was generated. In this case ELF will not be reported to debugger, just ISA GpuVA Related-To: NEO-6723 Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
aa59ee94b2
commit
d40173e47a
@@ -169,8 +169,8 @@ void DebuggerL0::notifyModuleDestroy(uint64_t moduleLoadAddress) {
|
||||
escapeInfo.Header.Size = sizeof(escapeInfo) - sizeof(escapeInfo.Header);
|
||||
escapeInfo.EscapeOperation = KM_ESCAPE_EUDBG_UMD_MODULE_CREATE_NOTIFY;
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.IsCreate = false;
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.Modulesize = 0x1000;
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.hElfAddressPtr = uint64_t(-1);
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.Modulesize = 0;
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.hElfAddressPtr = 0;
|
||||
escapeInfo.KmEuDbgUmdCreateModuleNotification.LoadAddress = moduleLoadAddress;
|
||||
|
||||
auto wddm = device->getRootDeviceEnvironment().osInterface->getDriverModel()->as<NEO::Wddm>();
|
||||
|
||||
Reference in New Issue
Block a user