Article View: gnu.gdb.bug
Article #1922problem with large source files
From: Vollmer, Juergen
Date: Mon, 10 Jun 2002 07:56
Date: Mon, 10 Jun 2002 07:56
67 lines
2975 bytes
2975 bytes
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C21054.51413380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I debugged a (generated) C-source file having 67735 lines. The problem arises=20 in line ~67600, but gdb showed me (with the list command) the line = ~2400. I looked in the symbol table (produced by maintprint symbol) and saw = that in the "Line table", after entry for line 65533 the entry for line 4 follows. It seems to me that the line number is stored by gdb only as an = unsigned 2 byte integer. (gcc showed error messages in that aera with the correct = line number). I use: gdb 5.1.1, configuread for a i386-suse-linux gcc 2.95.3 20010315 (SuSE) linux 2.4.18-4GB i686 =20 all taken from the SuSE 8.0 Intel-Linux distribution. Please find enclosed a "large" file producing the bug. Basically it's a = lot of new lines followed by a "int i =3D 10/0;" one-line-main function. =09 With best regards J=FCrgen Vollmer <<xx.c.gz>>=20 =20 ---- Dr. J=FCrgen Vollmer <vollmer@cocolab.de> CoCoLab c/o Dresdner Bank AG IS-STA Software-Technologie und -Architektur f=FCr Allianz Gruppe Deutschland Application Development Architecture Services Repository Management D-60301 Frankfurt am Main voice: (+49) 069 / 263 85 122 email: Juergen.Vollmer@Dresdner-Bank.com ------_=_NextPart_000_01C21054.51413380 Content-Type: application/octet-stream; name="xx.c.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="xx.c.gz" H4sICNxZBD0AA3h4LmMA7ckxCsJQFEXB/q3ilkYEk1pciVh8UsRfmCKIjbh3dR3OVAdOFQAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAD/7d76ml1fH2nbMh8y39qW/befl+tQr0p+r+ecacwx46ne9QHvgItoThABAA== ------_=_NextPart_000_01C21054.51413380--
Technical Details
Message-ID:
<62A6A06E481DD6119E350008C7A47F9D95198D@ffz00zm1.ffz00e.mail.dresdner.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-xfer.siscom.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f5053,a64a589b3840b83e,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-06-10 00:58:08 PST x-uunet-gateway: dfw7sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Mon, 10 Jun 2002 07:58:09 GMT Message-ID: <62A6A06E481DD6119E350008C7A47F9D95198D@ffz00zm1.ffz00e.mail.dresdner.net> From: "Vollmer, Juergen" <Juergen.Vollmer@Dresdner-Bank.com> Subject: problem with large source files Date: Mon, 10 Jun 2002 09:56:24 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C21054.51413380" 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!headwall.stanford.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-xfer.siscom.net!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Sender: bug-gdb-request@mail.gnu.org Lines: 67