]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py
ArmPlatformPkg: Fix target initialisation in cmd_load_symbols.py
[mirror_edk2.git] / ArmPlatformPkg / Scripts / Ds5 / cmd_load_symbols.py
index 89d2f28ba27d97b39c43d373267fbd2b8a586ad7..cb4db148dedf6bbc7805abd949d4bf6e8e8c135b 100644 (file)
@@ -85,11 +85,10 @@ else:
 debugger = Debugger()\r
 \r
 # Initialisation commands\r
-ec = debugger.getExecutionContext(0)\r
+ec = debugger.getCurrentExecutionContext()\r
 ec.getExecutionService().stop()\r
-ec.getExecutionService().waitForStop()\r
 # in case the execution context reference is out of date\r
-ec = debugger.getExecutionContext(0)\r
+ec = debugger.getCurrentExecutionContext()\r
 \r
 try:\r
     armplatform_debugger = edk2_debugger.ArmPlatformDebugger(ec, report_file, regions, verbose)\r