Greetings,
I have linux 2.4.6 installed on my SD card, gcc v3.3.5, gdb
v6.3
I compiled my application on my host computer using the
crosstools set provided by Technologics.
I ftp’d the source and executable to my TS7260
Using minicom , I want to run gdb…however I can’t
list the source…
What is missing?
Also, I would like to compile on the TS7260 instead of using
crosstools….
However I can’t get the include /libs populated…
I am new to Debian…
I did do the following:
apt-get install gcc
apt-get install gdb
apt-get install make
the /usr/include only has asm, linux, asm-generic populated…
where’s the rest?
Thanks for your help
Jayne
PS:: here’s what I see from gdb….using minicom
$ uname -a
Linux smiCm2 2.4.26-ts11 #1 Tue Nov 14 13:55:04 MST
2006 armv4l GNU/Linux
$ gcc -v
Reading specs from
/usr/lib/gcc-lib/arm-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,oxThread model: posix
gcc version 3.3.5 (Debian
1:3.3.5-13)
$ gdb --v
GNU gdb 6.3-debian
Copyright 2004 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 "arm-linux".
$ gdb tsTestHello
GNU gdb 6.3-debian
Copyright 2004 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
"arm-linux"...Using host libthread_db library "/lib/.
(gdb) list
1 /home/liberty/work_stuff/xtool/crosstool-0.28-rc37/build/arm-linux/gcc-.
in /home/liberty/work_stuff/xtool/crosstool-0.28-rc37/build/arm-linux/gS(gdb)
dir .
Source directories searched:
/home/jayned/ssd-sw-dev/DEBIAN-IPP2-DEV/cm_II/v1.0d(gdb) list
1
/home/liberty/work_stuff/xtool/crosstool-0.28-rc37/build/arm-linux/gcc-.
in /home/liberty/work_stuff/xtool/crosstool-0.28-rc37/build/arm-linux/gS(gdb)
run
Starting program:
/home/jayned/ssd-sw-dev/DEBIAN-IPP2-DEV/cm_II/v1.0.2/daemon/t
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 363)]
hello world
Program exited normally.
Cannot find thread 16384: generic error
(gdb) b main
Cannot find thread 16384: generic error
(gdb) list
1
in /home/liberty/work