diff options
-rw-r--r-- | ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py b/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py index 89d2f28ba2..cb4db148de 100644 --- a/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py +++ b/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py @@ -85,11 +85,10 @@ else: debugger = Debugger()
# Initialisation commands
-ec = debugger.getExecutionContext(0)
+ec = debugger.getCurrentExecutionContext()
ec.getExecutionService().stop()
-ec.getExecutionService().waitForStop()
# in case the execution context reference is out of date
-ec = debugger.getExecutionContext(0)
+ec = debugger.getCurrentExecutionContext()
try:
armplatform_debugger = edk2_debugger.ArmPlatformDebugger(ec, report_file, regions, verbose)
|