From: <sha...@si...> - 2007-06-21 13:25:24
|
Ok, After having tried in vain gdbserver snapshot, I finally use gdb (6.4) in local with a 10 times bigger executable and the full code source on the gumstix... Not the best, but it helps. If anyone manage to make gdbserver work with current buildroot revision, I'm interested in ! Sam Samuel Hangouët a écrit : > Hi, > > following indications done in the wiki about using gdbserver/gdbclient > to debug on target, > I still experience the problem : > > "Program received signal SIGILL, Illegal instruction." > > As I cannot achieve to compile gdbclient6.3, I am using gdbclient6.4. > > As anyone achieve to debug on target up to now ? > > You can see my logs below. > > Thanks > > Sam > > > *First, on the gumstix :* > > gdbserver host:2000 ./feeder -flush "/etc/init.d/S75feeder flush" > -clear "/etc/init.d/S75feeder restart" -set_key /root/set_key.sh > -conf config.xml > Debug expo_feeder... > Process ./feeder created; pid = 426 > Listening on port 2000 > Remote debugging from host 192.168.1.150 > > *And on the host machine :* > ~/gumstix-buildroot/toolchain_build_arm_nofpu/gdbclient-6.4/gdb/gdb > -symbols expo_feeder > GNU gdb 6.4 > Copyright 2005 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "--host=i386-pc-linux-gnu > --target=arm-linux-uclibcgnueabi"... > (gdb) target remote 192.168.1.10:2000 > Remote debugging using 192.168.1.10:2000 > 0x400009f0 in ?? () > > (gdb) b main.cpp:16 > Breakpoint 1 at 0xd9ac: file test/expo_feeder/main.cpp, line 16. > (gdb) c > Continuing. > > Program received signal SIGILL, Illegal instruction. > main (argc=9, argv=0xbe8bcd84) at feeder.h:21 > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |