Tuesday, November 21st 2017, 6:58am UTC+1

You are not logged in.

  • Login
  • Register



Date of registration: Oct 14th 2017

Posts: 11


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.
henry10210 has attached the following image:
  • OzoneDisassemble.png


Super Moderator

Date of registration: Jan 2nd 2017

Posts: 325


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,