Hi,

While working on a Mozilla task related to debugging information, I
ran into a problem triggered by the fact that sqlite3.c was > 32k
lines.  It turns out that the "stabs" debugging format uses a short
integer to store source line numbers.  We fixed the issue by using an
unsigned short, but I noticed that sqlite3.c was dangerously close to
64k lines, which would overflow the line number quantity.  I know that
stabs is an outdated debugging format, but we use it because our tools
don't currently have DWARF support.

I was wondering if it's possible to strip comment blocks from source
files when generating sqlite3.c?  It seems that since it's a generated
file anyway, the comments shouldn't be terribly important.  I ran a
quick test on the sqlite-3.4.0 sources, and I got:
wc -l sqlite3*.c
 67479 sqlite3.c
 49585 sqlite3-trimmed.c

I realize this is a very specific problem, but it might help me out in
the future.  :)

Regards,
-Ted

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to