[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: more than 16-bit line numbers
From: |
Scott McPeak |
Subject: |
Re: RFE: more than 16-bit line numbers |
Date: |
Sat, 11 May 2002 10:25:54 -0700 (PDT) |
Yes, that looks like a good enough hint to me! :)
-Scott
On 11 May 2002, Nick Clifton wrote:
> 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 != ',')
>
>