bug-gnu-utils
[Top][All Lists]
Advanced

[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 18:17:37 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Scott,

> However I'd still suggest the message give a hint as to how to fix
> the problem.  As it stands, the message wouldn't have told me
> anything I didn't already know (namely, line numbers are truncated).
> Even just a word or two that Google will know would be enough.

How about this rewording ?  Will the hint to try a different debug
format be enough ?

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 17:16:44 -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
+        format, probably DWARF.  */
+     as_warn (_(".stab%c: description field '%x' too big, maybe you could a 
different debug format"),
+            what, desc);
+     
    if (what == 's' || what == 'n')
      {
        if (*input_line_pointer != ',')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]