porting reversible on arm/mips

paawan oza paawan1982@yahoo.com
Sat Dec 12 03:28:00 GMT 2009


Hi All,

In conclusion we have following approaches to go ahead with.

1) have qemu or skyeye on windows and get the arm kernel on to it.

2) Using arm-elf-gdb, and use 'target simulator' command, and cross compiling test programs for arm.

1st gives me complete environment.
2nd may be a part of it.

any thing is ok as long as that gives smooth start.
I will try to setup qemu first and see.

Thanks for your help.
Regards,
Oza.



----- Original Message ----
From: Michael Snyder <msnyder@vmware.com>
To: paawan oza <paawan1982@yahoo.com>
Cc: Hui Zhu <teawater@gmail.com>; "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Sat, December 12, 2009 12:19:12 AM
Subject: Re: porting reversible on arm/mips

paawan oza wrote:
> I am not sure whether I got the term 'arm simulator built in gdb"
> can you give some more pointers ?

If you configure gdb as "arm-elf", gdb will build with
its own linked-in arm simulator which you can use by
means of the gdb command "target simulator".


> If I understand correctly,
> 
> there is no need for simulators, compile gdb with some options, on x86, that will simulate arm gdb with some basic arm environment!
> and I can try to finish architecture part first.

That is correct.   You can build arm-elf-gdb on x86 host.
You will probably want to build arm-elf-gcc and asm and linker,
so that you can compile test programs to simulate.


> ----- Original Message ----
> From: Michael Snyder <msnyder@vmware.com>
> To: paawan oza <paawan1982@yahoo.com>
> Cc: Hui Zhu <teawater@gmail.com>; "gdb@sourceware.org" <gdb@sourceware.org>
> Sent: Fri, December 11, 2009 8:41:27 AM
> Subject: Re: porting reversible on arm/mips
> 
> paawan oza wrote:
>> My target may be arm/mips.
>> but some of the common hurdles are following.
>> 
>> 1) getting virtual machine which has capability gives me arm processor
>> 
>> 2) getting the arm linux ISO. Can somebody give me some pointers regarding above ?
> 
> There's a nice separation in prec between architecture and
> OS/ABI.  You could begin with the arm simulator that comes
> built-in to gdb, and do the architecture part before
> tackling the Linux ABI part.
> 
> 
>      


      



More information about the Gdb mailing list