Friday, December 15th 2017, 8:45pm UTC+1

You are not logged in.

  • Login
  • Register

henry10210

Beginner

Date of registration: Oct 14th 2017

Posts: 11

1

Sunday, November 12th 2017, 5:26pm

How to disassemble cross-compiled ELF in ozone?

Hello, I was looking for a better side-by-side (C-and-assembly) view of the code than what gdb give you, so I am trying out ozone (other people apparently got it to work as you can see here). But after loading up my u-boot ELF file, ozone does NOT show me the assembly (only the machine code) as you can see in the attached picture.

I would guess this is because ozone doesn't know where my cross-tool chain is--even though I have an environment variable called CROSS_COMPILE. How can I tell Ozone to use this toolchain (I would guess it has to call the right readelf and objdump)?

Thanks for reading.
-Henry
henry10210 has attached the following image:
  • OzoneDisassemble.png

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 467

2

Monday, November 13th 2017, 2:18pm

Hello Henry,

Thank you for your inquiry.
Such behaviour is not known to us.
What target device are you trying to debug?
Does it happen during debug session too or is it shown then correctly?
If not could you provide us with the elf file and your jdebug file?

Best regards,
Nino