This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
gdbserver for ARM
- To: gdb-patches at sources dot redhat dot com
- Subject: gdbserver for ARM
- From: "John Southard" <rzez70 at email dot sps dot mot dot com>
- Date: Thu, 01 Mar 2001 23:19:15 -0600
- CC: "Southard, John N." <John dot Southard at motorola dot com>
- Reply-To: john dot southard at motorola dot com
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