[OpenBIOS] Ppc guest debugging?

Programmingkid programmingkidx at gmail.com
Sat Oct 13 00:43:31 CEST 2018


> On Oct 12, 2018, at 7:02 AM, Jd Lyons <lyons_dj at yahoo.com> wrote:
> 
> 
> 
>> On Oct 11, 2018, at 12:57 PM, Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:
>> 
>> On 11/10/2018 12:12, Jd Lyons via OpenBIOS wrote:
>> 
>>>>>> I installed gdb-multiarch and started qemu with:
>>>>>> 
>>>>>> Qemu-system-ppc -s -S
>>>>>> 
>>>>>> The launched gdb-multiarch and connected  to port 1234.
>>>>>> 
>>>>>> Is this the correct toolchain for debugging PPC code on an X86 host, or do I need to do something else?
>> 
>> I actually build gdb from source for the architectures I need (sparc32, sparc64 and
>> ppc), so I can't really comment on how multi-arch works.
> 
> Can I build gdb for debugging ppc code on x86?
> 
> Any instructions on how to do that?
> 
> Or should I be using a PPC host for this?

Mac OS X running in qemu-system-ppc should work just as well as a real PowerPC Mac would. It would probably mean running two instances of qemu-system-ppc on your host. 




More information about the OpenBIOS mailing list