[U-Boot] Adding Debug Symbol To U-Boot

yyurtcan yaseryurtcan.ee at gmail.com
Wed Jul 12 10:42:58 UTC 2017


Hi,
I have p4080ds and lauterbach(T32) hardware debugger. As known, u-boot has
written both assembly and C language. I can debug all u-boot code in
assembly language(C code also converted to assembly). However, it is hard to
follow. How can I debug u-boot C code in C language(not assembly)? What I
mean is that at the beginning there is assembly part after that whole code
is C language. I want to debug C code in C language not assembly language.
Here is my script that is enable debugging u-boot in assembly language.(I
have already load u-boot to Nor Flash). If it is not possible, I want to add
debug symbols to assembly code for linking C code. To do that what are the
requirement to rebuild uboot?

--------Script Start -------------------
SYStem.Reset
SYStem.CPU P4080
CORE.ASSIGN 1
MAP.BOnchip 0xFFFFF000--0xFFFFFFFF
SYStem.UP
Data.dump 0xFFFFF000--0xFFFFFFFF
--------Script End-------------------

Best regards.




--
View this message in context: http://u-boot.10912.n7.nabble.com/Adding-Debug-Symbol-To-U-Boot-tp298352.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list