🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2089

Remote Debugging failed to list the Source code on SA-1110

#2089
From: nagaraja
Date: Tue, 07 May 2002 06:58
26 lines
1934 bytes
Hi All,
 I am running  gdbserver (build natively for arm from
gdb+dejagnu20020419) on target (SA-1110)and the gdb-5.1
 cross-debuger on host(build with the configure option ./configure
--target=arm-linux --host=-586-pc-linux-gnu ).

To debug hello program on target machine I am uing minicom .
On target  running:

/gdbserver /dev/ttySA0 hello foo.txt

 on host running:

 /arm-linux-gdb hello
 (gdb) target remote /dev/ttys0
(gdb) b main
 (gdb) c

 I am able to debug small programs,putting break point at  main is
working,I can see the source code as well.
If I use  big program of about,26k  setting break points and printing
the values of variable works fine
But..........I could't able to see the sorce code of INCLUDE files,not
even source code of pragram having main function.

Am I missing any thing here,any help will be greatly appriciated.
Technical Details
Message-ID: <3CD77B03.3CC47F35@ncoretech.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sunqbc.risq.qc.ca!wesley.videotron.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,3651ea799791add3,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-05-06 23:55:25 PST
x-uunet-gateway: mr0.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Tue, 7 May 2002 06:55:23 GMT
Sender: nags@ncoretech.com
Message-ID: <3CD77B03.3CC47F35@ncoretech.com>
Date: Tue, 07 May 2002 12:28:11 +0530
From: nagaraja@ncoretech.com (nagaraja)
Organization: Encore
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i586)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Remote Debugging failed to list the Source code on SA-1110
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses on Tue May  7 12:25:09 IST 2002
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sunqbc.risq.qc.ca!wesley.videotron.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Lines: 27