Re: gdb cross compilation, error from gdb/tui module

Pedro Alves
2010-10-28T12:11:48Z

On Thursday 28 October 2010 12:56:57, paawan oza wrote:

> and I have cross compiled it with tool chain at following location
> http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
^^^^^^^^^^^^^^^^^^^^^^

> This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
^^^^^^^

> warning: A handler for the OS ABI "GNU/Linux" is not built into this

...

> any idea how to get the arm binaries correctly getting worked under arm
> simulator ?

I suppose you'll get better results with a compiler that matches
your target...

Try building gdb with --target=arm-eabi, and to use the arm-eabi compiler,
not the arm-linux-gnueabi compiler.

--
Pedro Alves