[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: more than 16-bit line numbers
From: |
Nick Clifton |
Subject: |
Re: RFE: more than 16-bit line numbers |
Date: |
11 May 2002 11:43:01 +0100 |
Hi Scott,
Doh! I really should check my patches carefully before sending them
out. The previous version would always complain because I goofed
the check for negative values. Please try this version instead.
Cheers
Nick
Index: gas/stabs.c
===================================================================
RCS file: /cvs/src/src/gas/stabs.c,v
retrieving revision 1.16
diff -c -3 -p -w -r1.16 stabs.c
*** gas/stabs.c 3 May 2002 02:25:33 -0000 1.16
--- gas/stabs.c 11 May 2002 10:40:06 -0000
*************** s_stab_generic (what, stab_secname, stab
*** 240,245 ****
--- 240,253 ----
other = longint;
desc = get_absolute_expression ();
+
+ if ((desc > 0xffff) || (desc < -0x8000))
+ /* This could happen for example with a source file with a huge
+ number of lines. The only cure is to use a different debug
+ foramt, probably DWARF. */
+ as_warn (_(".stab%c: description field '%x' does not fit into 16 bits"),
+ what, desc);
+
if (what == 's' || what == 'n')
{
if (*input_line_pointer != ',')
- Re: RFE: more than 16-bit line numbers,
Nick Clifton <=