ts-7000
[Top] [All Lists]

[ts-7000] TS7260 newbie gdb - can't list source

To: "" <>
Subject: [ts-7000] TS7260 newbie gdb - can't list source
From: Jayne Dickinson <>
Date: Thu, 7 Feb 2008 15:56:07 -0700

 

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

 

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] TS7260 newbie gdb - can't list source, Jayne Dickinson <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU