[linux-cirrus] Re: Gbserver Issue on uClinux and arm

  • From: Eric BENARD / Free <ebenard@xxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Wed, 15 Jun 2005 15:55:48 +0200

Bhushan Kolarkar wrote:
> Hi All,
> I am trying to use gdbserver and do remote debugging on the EP9315 using
> uClinux,
> where can I find information for building gdbserver for arm I am able to boot
> board and tried connecting the gdb client fron my linux host machine.
> But I think there is something wrong in my uClinux configuration so the
> GDBserver is not getting build.

Compilation of gdb for execution on the host
 $ tar xvjf gdb-6.3.tar.bz2
 $ cd gdb-6.3
 $ mkdir arm-linux
 $ cd arm-linux
 $ ../configure --target=arm-linux –prefix=XXX_whereyouwant
 $ make
 $ make install
 $ cd ..

Compilation of gdbserver for execution on the target
 $ mkdir arm-linux-gdbserver
 $ cd arm-linux-gdbserver
 $ CC=”arm-linux-gcc XXXyour_options_for_the_target” ../
 gdb/gdbserver configure –host=arm-linux
 $ make
 $ arm-linux-strip gdbserver
 $ arm-linux-strip gdbreplay

Regards
Eric


Other related posts: