2009-04-08 09:48:56     Error: target not supported by gdbserver.

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-04-08 09:48:56     Error: target not supported by gdbserver.

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 72420   

 

I just tried to build gdbserver to try out debugging (I've no real problems, I'm just having a play around), but I get the error message you can see in the build output below. Anyone got any ideas why? I'm building for BF533-STAMP, using the uClinux-dist-2008R1.5-RC3 release. I've attached my .config if that helps.

 

 

make[3]: Entering directory `/home/comptest/src/uClinux-dist-2008R1.5-RC3/user/gdb'

rm -rf build

mkdir build

(cd build; sh ../gdb/gdbserver/configure --build=i686-pc-linux-gnu --host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --with-readline --disable-nls)

creating cache ./config.cache

checking for gcc... bfin-uclinux-gcc

checking whether the C compiler (bfin-uclinux-gcc -pipe -Wall -g -O2    -mcpu=bf533-0.3  -Wl,-elf2flt   -mcpu=bf533-0.3) works... yes

checking whether the C compiler (bfin-uclinux-gcc -pipe -Wall -g -O2    -mcpu=bf533-0.3  -Wl,-elf2flt   -mcpu=bf533-0.3) is a cross-compiler... yes

checking whether we are using GNU C... yes

checking whether bfin-uclinux-gcc accepts -g... yes

checking host system type... bfin-unknown-uclinux

checking target system type... bfin-unknown-uclinux

checking build system type... i686-pc-linux-gnu

checking for a BSD compatible install... /usr/bin/install -c

checking how to run the C preprocessor... bfin-uclinux-gcc -E

checking for ANSI C header files... yes

checking for sgtty.h... yes

checking for termio.h... yes

checking for termios.h... yes

checking for sys/reg.h... yes

checking for string.h... yes

checking for proc_service.h... no

checking for sys/procfs.h... yes

checking for thread_db.h... yes

checking for linux/elf.h... yes

checking for stdlib.h... yes

checking for unistd.h... yes

checking whether strerror must be declared... no

Error: target not supported by gdbserver.

make[3]: *** [build/build] Error 1

make[3]: Leaving directory `/home/comptest/src/uClinux-dist-2008R1.5-RC3/user/gdb'

make[2]: *** [gdb] Error 2

make[2]: Leaving directory `/home/comptest/src/uClinux-dist-2008R1.5-RC3/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/comptest/src/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

comptest@amcl-desktop:~/src/uClinux-dist-2008R1.5-RC3$ make menuconfig

config/mkconfig > config.in

 

config

QuoteReplyEditDelete

 

 

2009-04-08 16:46:21     Re: Error: target not supported by gdbserver.

Mike Frysinger (UNITED STATES)

Message: 72432   

 

the top level .config isnt interesting ... the config/.config one is

 

however, my guess is you selected the wrong gdbserver.  you want the "(old)" one.

QuoteReplyEditDelete

 

 

2009-04-09 07:31:12     Re: Error: target not supported by gdbserver.

Seán McLemon (BRITISH INDIAN OCEAN TERRITORY)

Message: 72462   

 

re the config, whoops - that was a little silly. Yeah looks like it's built fine using "gdbserver (old)", thanks Mike!

 

Is it perhaps worth adding this to the "debuggers" page on the wiki (  docs.blackfin.uclinux.org/doku.php?id=debuggers&s[]=gdb)?  Is it fixed\addressed in the more recent release?

QuoteReplyEditDelete

 

 

2009-04-09 14:57:24     Re: Error: target not supported by gdbserver.

Mike Frysinger (UNITED STATES)

Message: 72473   

 

yes, it's fixed in the latest svn trunk ... there is only one option

Attachments

Outcomes