audk/ArmPlatformPkg/Scripts/Ds5
Artem Kopotev fddb8d24ec ArmPlatformPkg/Scripts: Infer dll load address from console output
cmd_load_symbols.py can only load symbols from FV. Add the possibility to
use UEFI console output to calculate dll load address and send
add-symbol-file commands directly to ArmDS debugger

dll load address can't be used directly from UEFI output, see comment in
DebugPeCoffExtraActionLib: "This may not work correctly if you generate
PE/COFF directly as then the Offset would not be required".

1) Use objdump -S module.dll | grep <_ModuleEntryPoint> to get offset
in dll (offset)
2) Use Entrypoint=<address> from UEFI console output (entrypoint)
3) dll load address is (entrypoint)-(offset)

Signed-off-by: Artem Kopotev <artem.kopotev@arm.com>
Tested-by: Pierre Gondois <Pierre.Gondois@arm.com>
2021-07-19 07:38:14 +00:00
..
build_report.py ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
cmd_load_symbols.py ArmPlatformPkg/Scripts: Infer dll load address from console output 2021-07-19 07:38:14 +00:00
console_loader.py ArmPlatformPkg/Scripts: Infer dll load address from console output 2021-07-19 07:38:14 +00:00
edk2_debugger.py ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
firmware_volume.py ArmPlatformPkg/Ds5: Increase path length to 400 2020-02-08 11:51:41 +00:00
profile.py ArmPlatformPkg: convert LFs to CRLF, expand hard TABs 2020-03-04 12:22:07 +00:00
system_table.py ArmPlatformPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00