Re: [PATCH] a more efficient BUG() macro

Andrew Morton
2001-02-18T01:41:27Z

"J . A . Magallon" wrote:
>
> On 02.18 Andrew Morton wrote:
> >
> > __BASE_FILE__ does this. It expands to the thing which you
> > typed on the `gcc' command line.
> >
> ..
> > 3 at a.c
> > 3 at a.c
>
> I also thought that, but look at the line numbers...wrong and repeated.

Sure. There's no __BASE_LINE__.

I don't think providing file-n-line in BUG() provides much utility. Just
remove it. Replace it with "please feed the following into ksymoops".