]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg: DebugPeCoffExtraActionLib: debugger commands are not errors
authorPhilippe Mathieu-Daude <philmd@redhat.com>
Mon, 29 Jul 2019 18:03:20 +0000 (20:03 +0200)
committerLeif Lindholm <leif.lindholm@linaro.org>
Tue, 30 Jul 2019 13:57:51 +0000 (14:57 +0100)
commita6cd7fbac494ed3b2386db1f2a8b1a73f399e940
treefe9feff9aaf2df79537a1463497121e5503d8c65
parent8fed4e47d9a64a3d047f74b5f465f554d3d912a4
ArmPkg: DebugPeCoffExtraActionLib: debugger commands are not errors

In commit 1fce963d89f3e we reduced the level of information printed
by PeCoffLoaderRelocateImageExtraAction() but we did not update the
similar PeCoffLoaderUnloadImageExtraAction() function.

PeCoffLoaderUnloadImageExtraAction() prints helpful debugger commands
for source level debugging. These messages should not be printed on the
EFI_D_ERROR level; they don't report errors. Change the debug level
(bitmask, actually) to DEBUG_LOAD | DEBUG_INFO, because the messages are
printed in relation to image loading, and they are informative.

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reported-by: Andrew Jones <drjones@redhat.com>
Suggested-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.c