This is the mail archive of the gdb-patches@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]

gdbserver for ARM


I have been searching the web and this mail list trying to locate the latest patch
for GDB 5.0 that supports gdbserver for ARM processors.  My host machine is x86 Linux
and the target is ARM Linux.  Can someone recommend a patch file and the steps
necessary to install the patch?  I have taken a couple of patches from this mail list
and tried using "patch -p1 < patch_file"  without success.  Is this the right
command?

I think the following two steps are necessary to build gdb for the x86 host and
gdbserver for an ARM target.  The build for the host successfully completes.  Any
comments would be greatly appreciated.

Build GDB for host (after patch applied)
-----------------------------------------
cd gdb-5.0
./configure --target=arm-linux-elf
make
make install

Build gdbserver for target
--------------------------
cd gdb/gdbserver
../../configure --target=arm-linux
make CC=arm-linux-gcc

Regards,
John


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