public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Debugging aarch64 edk2 built with gcc-8.x 64-bit arm compiler
@ 2019-12-06 23:50 Vladimir Olovyannikov
  2019-12-10 17:13 ` Ard Biesheuvel
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Olovyannikov @ 2019-12-06 23:50 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: devel

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

Hi Ard,



We are about to switch to the latest Yocto. It is shipped with gcc-8.3
aarch64-linux-gnu compiler.

We use DS5 for bare metal debugging.

When I build edk2 with gcc-7-x/gcc-8.x, DS5 complains on DWARF format.
I tried to explicitly set it to DWARF2, but still cannot even get the stack
or local variables (even though DS5 does not complain),
even for edk2 NOOPT build.



Using gcc-6.3 from Linaro, I don’t see any issue with DS5 debugging.

Am I missing any steps?

Build is done with GCC5_AARCH64_PREFIX=aarch64-linux-gnu



Another question: it seems that the DS5 scripts limit the path size with
255 chars. With a source built by Yocto, it can easily be more than that.

Attempt to add symbols for such modules ends up with error message in the
DS5 command window that it could not add those symbols.

Is there a procedure to increase the path length limit?



Thank you,
Vladimir

[-- Attachment #2: Type: text/html, Size: 2401 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-12 18:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-06 23:50 Debugging aarch64 edk2 built with gcc-8.x 64-bit arm compiler Vladimir Olovyannikov
2019-12-10 17:13 ` Ard Biesheuvel
2019-12-10 17:25   ` Vladimir Olovyannikov
2019-12-11 14:51     ` Ard Biesheuvel
2019-12-12 16:07       ` Sami Mujawar
2019-12-12 17:51         ` Vladimir Olovyannikov
2019-12-12 18:32           ` Sami Mujawar
2019-12-12 18:56             ` Vladimir Olovyannikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox