Hello Amit,
Interestingly, as you may know the .dll is actually an ELF file and DS-5
should not fail to load it with this error.
But the method you are using (i.e. the text box 'load symbols from file')
will not work as you need to specify an offset to define where to load the
symbols.
Have a look to this wiki page I recently created:
https://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPkg/Ds5
It explain how to debug UEFI with ARM DS-5. I wrote some helper scripts that
should load the symbols for you.
Let me know if that helps you.
Kind regards,
Olivier
From: Amit Mahadik [mailto:amitmahadi...@yahoo.com]
Sent: 04 December 2012 10:59
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Debugging UEFI code on DS5 for Cortex-A9x2_RTSM_EB platform.
Hello,
I am trying to debug UEFI code on DS5 for Cortex-A9x2_RTSM_EB
platform. I have built the UEFI code as stated in
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPlatformP
kg/ArmVExpressPkg
I have added scripts from ArmPlatform/Scripts/DS5 folder. In Debug
Configuration I have selected the following options
Platform - ARM-Cortex-A9x2_RTSM
Project Type - Bare Metal Debug
Debug Operation - Debug-Cortex-A9_0
In Files options when I provide any .dll file as stated in
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPkg/Debug
ging I just get an RTSM window.
eg.
edk2\Build\ArmRealViewEb-RTSM-A9x2\DEBUG_RVCTLINUX\ARM\ArmPlatformPkg\Platfo
rmPei\PlatformPeim\DEBUG\PlatformPei.dll
In load symbols from file I have selected the same above mentioned dll.
However, DS5 fails to load the .dll file and outputs error as .dll is not an
elf file.
My aim is to do source level debugging of the UEFI code with the help of
source code displayed in one of the windows of DS5 debugger. Am I missing
some steps?. Plese help me regarding this problem.
Regards,
Amit.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel