Hi, I debugged a (generated) C-source file having 67735 lines. The problem arises 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
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 = 10/0;" one-line-main function.
With best regards
J�rgen Vollmer
<<xx.c.gz>>
----
Dr. J�rgen Vollmer <[EMAIL PROTECTED]>
CoCoLab
c/o Dresdner Bank AG
IS-STA Software-Technologie und -Architektur f�r
Allianz Gruppe Deutschland
Application Development Architecture Services
Repository Management
D-60301 Frankfurt am Main
voice: (+49) 069 / 263 85 122
email: [EMAIL PROTECTED]
xx.c.gz
Description: Binary data
