Saturday, April 21st 2018, 2:22am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Date of registration: Feb 23rd 2018

Posts: 6

1

Friday, March 23rd 2018, 12:20pm

[SOLVED] [Ozone] Problem with ELF DWARF4

Hello,

I am currently using:
- Ozone 2.56e on Linux with the JLink DLLs 6.30h;

I have an issue where if I am to compile an ELF with DWARF4 instead of DWARF3 (in TI Code Composer Studio), Ozone, either doesn't show debug symbols, either it displays a list of errors of the kind "ElfLib: libdwarf: Line info section too short in func _dwarf_lineno_init (offset, 0x...)".


I thought that it was my compiler having issues until I tried to debug the exact same binary in Eclipse Oxygen with the GNU MCU Eclipse 4.3.2 plugin and a JLink Debug Configuration. In Eclipse all the symbols are loaded and the debugging behaviour is the same as with DWARF3 debug symbols.

This seems to point the problem in Ozone.

I've created an empty TI Code Composer Studio project and compiled to a binary with DWARF4 to reproduce the issue.



Regards,


Alessandro

alex.gasbarroni has attached the following file:
  • dwarf4.zip (23.3 kB - 31 times downloaded - Last download: Yesterday, 7:55pm)

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 938

2

Tuesday, March 27th 2018, 9:12am

Hello,

Thank you for your inquiry and providing a reproduction scenario.
We were able to reproduce the issue and it will be fixed in the next Ozone release version.

Best regards,
Nino
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purposes is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/


Date of registration: Feb 23rd 2018

Posts: 6

3

Tuesday, March 27th 2018, 12:04pm

Thank you!

Regards,
Alessandro

Date of registration: Feb 23rd 2018

Posts: 6

4

Wednesday, April 18th 2018, 10:45am

Thank You,

I can confirm this issue has been resolved in Ozone 2.56f.

Best Regards,

Alessandro

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 938

5

Wednesday, April 18th 2018, 11:14am

Hello Allesandro,

Great to hear that you are up and running again.
We will consider this thread as solved now.

Best regards,
Nino
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purposes is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/