This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cross compiled GDB


On Dec 27,  4:45pm, Yu Xuanwei wrote:

> I'm going to utilize gdb in a cross environment. My host is Intel PC, my
> target is ARM. Now I wonder how to build a GDB for my remote debugging.
> I want to know whether the native built gdb on Intel is suitable for
> host gdb client. I know that the GDBserver on target should be compiled
> to ARM binary. Is there any architecture requisite for host gdb client?

When you configure gdb use the ``--target='' option.  E.g,

    ../src/configure --target=arm-unknown-elf

Kevin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]