]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg: Fix target initialisation in cmd_load_symbols.py
authorRebecca Cran <rebecca@bsdio.com>
Mon, 11 Apr 2022 01:16:58 +0000 (19:16 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 3 May 2022 09:12:27 +0000 (09:12 +0000)
commit5299568ce6737f0225c7cb5b7a6baef409994856
tree4542db2f5820fa0926642cc5232aa09e13896d6e
parentdaa6cd876383ae16d17dc41e65635d8f9ac66d93
ArmPlatformPkg: Fix target initialisation in cmd_load_symbols.py

The debugger in Arm Development Studio 2021.2 doesn't work with
"ec = debugger.getExecutionContext(0)" because it's subsequently unable
to access memory. Fix it by switching to
"ec = debugger.getCurrentExecutionContext()".

The documentation for waitForStop() says:

"It is not needed after a call to stop() because stop() is blocking."

So, remove the call to waitForStop.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py