Posted by Jens
![]()
on August 4, 2003, 12:37:55
53.122.194.70
Hello, as a beginner in embedded developement i have to implement an object-file-reader for the output of the Hitachi-Compiler 5.1.C/HEW1.3 (HDI 4.05). As output format i have to use the ELF-Format, non relocateable, debugging info in the load module. No Problem so far. When i try to debug the module in the HDI i only see the assembler. When i place the debugging info in extra files i can see the source/assembler mapping. That is what i need. When i check the module (ELF/non relocatable/in load module) with the cygwins file-command i am told that it is stripped. When i check it with the readelf-command i can see the debugging sections .debug and .line which should be a proof that it isnt stipped.(And they contain something) The sections .debug and .line give the hint that there is the DWARF1.1 format present. I also see the section names P/C/D/B which arent conform with the ELF standard (here .text/.rodata/.data/.bss) I have an object-file-reader which is able to interpret those files but it doesent work with the Hitachi files. Im also confused about the fact that the HDI isnt able to interpret/extract the debugging format itself. My Question: What is exactly the fomat of the debugging info in the ELF-file, DWARF1.1 or 2 or ? And does anybody know if the standards had been correctly impemented in the Hitachi toolchain. And if not, where can i look for the specificaton of the Hitachi debugging-format. Is it magic ? Or .... ? All other solutions wellcome !
Thanks for reading so far ... and for all
hints, Jens.
Message Thread:
![]()
« Back to thread
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.