Re: [edk2] Using Intel UDk debugger

2017-04-01 Thread Ni, Ruiyu
Arka, Can you try to set unresolved breakpoint through Graphics UI? Open the App.c file in WinDbg and put the caret in the line you want to set breakpoint. Press F9 to set it. than use bl to confirm. Regards, Ray >-Original Message- >From: Arka Sharma [mailto:arka.sw1...@gmail.com]

[edk2] [PATCH 6/9] UefiCpuPkg/CpuExceptionHandlerLib: Display PF Excption Data bit

2017-04-01 Thread Jeff Fan
Page-fault exception data bit displaying is very useful. Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan ---

[edk2] [PATCH 8/9] UefiCpuPkg/PiSmmCpuDxeSmm: Consume DumpCpuContext()

2017-04-01 Thread Jeff Fan
Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan --- UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 18 ++

[edk2] [PATCH 2/9] MdeModulePkg/CpuExceptionHandlerLib: Add DumpCpuContext()

2017-04-01 Thread Jeff Fan
This API is used to display exception type and all processor context for debug purpose. Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan

[edk2] [PATCH 4/9] UefiCpuPkg/CpuExceptionHandlerLib: Add DumpModuleImageInfo()

2017-04-01 Thread Jeff Fan
Add internal DumpModuleImageInfo() to replace FindModuleImageBase(). It will consume PeCoffGetEntrypointLib's PeCoffSerachImageBase() to get PE/COFF image base. Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian

[edk2] [PATCH 5/9] UefiCpuPkg/CpuExceptionHandlerLib: Add DumpCpuContext() implementation

2017-04-01 Thread Jeff Fan
Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan --- .../CpuExceptionHandlerLib/CpuExceptionCommon.h| 1 +

[edk2] [PATCH 9/9] SourceLevelDebugPkg/DebugAgent.c: Consume PeCoffSerachImageBase()

2017-04-01 Thread Jeff Fan
Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan --- .../DebugAgent/DebugAgentCommon/DebugAgent.c | 50

[edk2] [PATCH 7/9] UefiCpuPkg/PiSmmCpuDxeSmm: Consume PeCoffSerachImageBase()

2017-04-01 Thread Jeff Fan
Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan --- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 37

[edk2] [PATCH 3/9] UefiCpuPkg/CpuExceptionHandlerLib: Rename internal DumpCpuContent()

2017-04-01 Thread Jeff Fan
Rename internal DumpCpuContent() to DumpImageAndCpuContent(). Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan ---

[edk2] [PATCH 1/9] MdePkg/PeCoffGetEntryPointLib: Add PeCoffSerachImageBase()

2017-04-01 Thread Jeff Fan
This new API only works on DEBUG build. It will search the PE/COFF image base forward the input address in this PE/COFF image and returns it. Cc: Jiewen Yao Cc: Michael Kinney Cc: Liming Gao Contributed-under: TianoCore

Re: [edk2] Using Intel UDk debugger

2017-04-01 Thread Arka Sharma
Thanks Jeff and Ray. As of now I am using CpuBreakPoint() in the entry point of my application. Once I start the application __debugbreak() is getting called and I am able to set additional breakpoints. Also I confirmed the symbols are loaded using lmv. When I am trying to use unresolved

[edk2] [PATCH] MdeModulePkg: Fix GCC48/GCC49 build error

2017-04-01 Thread Song, BinX
- Fix GCC48/GCC49 build error Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song --- .../Library/BrotliCustomDecompressLib/BrotliCustomDecompressLib.inf| 3 +++ 1 file changed, 3 insertions(+) diff

[edk2] [Patch] BaseTools: update error message for SKUID_IDENTIFIER format

2017-04-01 Thread Yonghong Zhu
Per DSC spec, the SkuUiName use '|' as separator, so this patch update the error message to use '|' but not space as separator. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu ---