[uClinux-dev] Compiling gdbserver

Wolf, Josef josef.wolf at siemens.com
Wed Mar 14 08:52:44 EST 2007


Hello!

I'm using uClinux-dist-20051014 with an lp2292 (arm7tdmi).  I tried to
compile the gdbserver that is included in uClinux-dist-20051014.  But
its
configure script bails out with "Target not supported by gdbserver."
Then I checked config.status, and it says

   # This directory was configured as follows
   ../../configure --host=i686-cp-linux-gnu --target=m68k-elf

which don't look right to me for two reasons:

- gdbserver's README says it must be configured with host beeing
identical
  to target.  This sounds reasonable, since the server runs on the
target
  and it needs to understand the target architecture.

- m68k-elf is oviously not correct for arm7tdmi.

I found a description on ucdot:

  http://www.ucdot.org/article.pl?sid=03/01/07/0214244&mode=thread

but this description seems to assume that the sources are already
configured for arm architecture.

Any hints how to configure gdb for arm7tdmi?  Do I need to start from
vanilla sources?


More information about the uClinux-dev mailing list