Sai, I think it should be ok if /Od takes effect. Could you double check those modules' Makefile files in build directory? Is the /Od compiler option really added in CC_FLAGS macro?
Ray, Do you have any comment on this issue? Thanks Feng From: Saiprasad Chavali [mailto:s...@marvell.com] Sent: Wednesday, June 10, 2015 05:47 To: Tian, Feng; 'edk2-devel@lists.sourceforge.net' Subject: RE: [edk2] Question about WinDbg Support-- Hi, Even after turning on the "Build option: /Od" for the Dxe module/driver, local variables/function parameters are not getting resolved, wondering any missing steps, while compiling. The symbol path looks fine to me as I am able to step through the code. I have set "*_*_*_GENFW_FLAGS = --keepexceptiontable" as well. Thanks Sai From: Saiprasad Chavali Sent: Tuesday, May 12, 2015 9:20 AM To: Tian, Feng; 'edk2-devel@lists.sourceforge.net' Subject: RE: [edk2] Question about WinDbg Support-- Hi Feng, Yes the Host connects to the Target with Windbg. And I can see Initial serial dump on the Terminal redirect port. We don't have any standard platform yet, so using the DELL laptop to test USB/ Bluetooth Functionality. And I believe the exception happens after couple of protocol interfaces are loaded, I think we entered into the DXE phase (Not sure though). If it is not a supported scenario, due think it make sense to chase it or try to load it standalone if we have to debug the Dxe Driver. Thanks Sai From: Tian, Feng [mailto:feng.t...@intel.com] Sent: Monday, May 11, 2015 11:33 PM To: Saiprasad Chavali; 'edk2-devel@lists.sourceforge.net' Cc: Tian, Feng Subject: RE: [edk2] Question about WinDbg Support-- Sai, What do you do on DuetPkg to enable SourceLevelDebug? We didn't enable and test such use case. Do you see the connection of Windbg with target? The exception is not printed by EDKII Duet, it's more like legacy bios. Thanks Feng From: Saiprasad Chavali [mailto:s...@marvell.com] Sent: Tuesday, May 12, 2015 07:38 To: Tian, Feng; 'edk2-devel@lists.sourceforge.net' Subject: RE: [edk2] Question about WinDbg Support-- Hi Feng, Need some help, as USB->SerialAdapter is not an option, I replaced with a proper serial port, now I am having issues with Windbg on "DuetpkgIa32.dsc" FV image? Looks like I am getting a CPU exception? Not sure what is wrong? Your help is so much appreciated Thanks Sai Access violation - code c0000005 (first/second chance not available) ***** Target encountered an exception: Vector = 8, Error Code = be801426********* eax=be7cdf68 ebx=be815368 ecx=00000000 edx=00000000 esi=b97ce000 edi=00000000 eip=00000010 esp=be7cdf54 ebp=80000000 iopl=0 nv up di pl nz na po nc cs=0010 ss=0008 ds=0008 es=0008 fs=0008 gs=0008 efl=2ee00000 00000010 f1 ??? From: Saiprasad Chavali Sent: Wednesday, May 06, 2015 6:52 PM To: Tian, Feng; edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Thanks Feng, for the clarification. Sai From: Tian, Feng [mailto:feng.t...@intel.com] Sent: Wednesday, May 06, 2015 6:20 PM To: Saiprasad Chavali; edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Cc: Tian, Feng Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Yes, the driver you saw is a UEFI driver and only for DXE phase. To enable this feature, you need develop a new DebugCommunicationLibFtdi library instance for SEC/PEI/DXE phase. Thanks Feng From: Saiprasad Chavali [mailto:s...@marvell.com] Sent: Thursday, May 7, 2015 8:56 AM To: Tian, Feng; edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Hi Feng, I have the Ftdi driver (optionrompackage) part of the image, unfortunately this will not get loaded during early DXE phase (OR) supports the debug agent lib right? I believe the debug agent works with "debug communication lib usb" (or) "debug communication serial port", if not mistaken. Thanks Sai From: Tian, Feng [mailto:feng.t...@intel.com] Sent: Wednesday, May 06, 2015 5:42 PM To: Saiprasad Chavali; edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Cc: Tian, Feng Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Hi, Sai We don't support this usage. Such usage model needs a Ftdi driver in Target BIOS. Thanks Feng From: Saiprasad Chavali [mailto:s...@marvell.com] Sent: Thursday, May 7, 2015 1:18 AM To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>; Tian, Feng Subject: RE: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Hi Tian, The host is fine, how about the Target? The problem is with the Target the Laptops/pc no more serial ports, so using the USB adapter? Thanks Sai From: Tian, Feng [mailto:feng.t...@intel.com] Sent: Wednesday, May 06, 2015 1:33 AM To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Subject: Re: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. For Usb2Serial cable, we support the usage that the cable's usb end is connected with Host and the cable's serial end is connected with Target. By this way, Host will identify a new COM port when connecting this cable like above. UDK Debugger will treat it as a real serial cable to access. From: Saiprasad Chavali [mailto:s...@marvell.com] Sent: Wednesday, May 06, 2015 04:40 To: 'edk2-devel@lists.sourceforge.net' Subject: [edk2] Question about WinDbg Support-- Target with USB->Serial Adapter. Hi, Need small clarification, to connect to Host running WinDbg/UEFI debugger tool , do we have support for "USB->Serial Adapter" on Target ? What I see "DebugCommunicationLibSerialPort" is hardcoded to 0x3F8 base address? Unfortunately some of the DELL laptops, doesn't have serial port or usb debug ports? So wondering if we have support for USB->Serial adapter attached to "FtdiUsbSerialDriver". Thanks for your quick response. Sai
------------------------------------------------------------------------------
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel