--- Ted Mielczarek <[EMAIL PROTECTED]> wrote: > 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
+1 vote on this. Had the same debug issue on a MIPS GCC target. ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

