On 08/24/2017 03:03 PM, 'florian' via Jailhouse wrote:
> Am Donnerstag, 24. August 2017 14:59:55 UTC+2 schrieb Henning Schild:
>> Am Thu, 24 Aug 2017 05:47:38 -0700
>> schrieb 'florian' via Jailhouse <[email protected]>:
>>
>>> I want to debug Jailhouse with a Lauterbach but getting crazy to load
>>> symbols into trace32. Is there any way to get an elf file as an
>>> output of the compilation process (important part for me: debug
>>> symbols of jailhouse.bin and of the inmates examples)?
>>
>> There are elf files with symbols and locations i.e.
>> hypervisor/hypervisor-intel.o
>> and
>> inmates/demos/x86/*-demo-linked.o
>>
>> Not sure whether you can use them for your Lauterbach, but should be
>> close to what you need.
>>
>> Henning
> 
> Ok, then I'm on the right way. Am I right when thinking when using ARM then 
> hypervisor/hypervisor.o should be the right and well linked elf file? 
> (starting with .elf^^)
> 
Right.

Simply follow the compilation process, hypervisor.o is the last linked
file before the flat binary is objcopied:

  CC      /root/workspace/jailhouse/hypervisor/uart.o
  CC      /root/workspace/jailhouse/hypervisor/uart-8250.o
  LD      /root/workspace/jailhouse/hypervisor/hypervisor.o
  OBJCOPY /root/workspace/jailhouse/hypervisor/jailhouse.bin

Could you keep us up-to-date if Lauterbach debugging works fine or if
there are some obstacles? I'm interested in that.

Thanks,
  Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to