You need to increase the STACKSIZE in find.c

View: New views
3 Messages — Rating Filter:   Alert me  

You need to increase the STACKSIZE in find.c

by gnn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On a large project, such as the FreeBSD kernel, I could not longer get
gtags to complete.  There really seem to be two problems:

1) STACKSIZE is set to 50, and needs to be larger.  1024 worked for
me.

2) I believe, but am not sure, that the way in which files are
excluded is by finding each one first.  If I exclude the compile/
directory, by adding it to skip, gtags still tries to walk every patch
in that directory.  Shouldn't gtags simply ignore that directory
completely?

Best,
George Neville-Neil


_______________________________________________
Bug-global mailing list
Bug-global@...
http://lists.gnu.org/mailman/listinfo/bug-global

Re: You need to increase the STACKSIZE in find.c

by Shigio YAMAGUCHI-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
> On a large project, such as the FreeBSD kernel, I could not longer get
> gtags to complete.  There really seem to be two problems:
>
> 1) STACKSIZE is set to 50, and needs to be larger.  1024 worked for
> me.

OK. I'll rewrite the stack using dynamic allocated array.

> 2) I believe, but am not sure, that the way in which files are
> excluded is by finding each one first.  If I exclude the compile/
> directory, by adding it to skip, gtags still tries to walk every patch
> in that directory.  Shouldn't gtags simply ignore that directory
> completely?

You are right. I'll also change this illogical behavior.

The following release might include these fixes.
Thank you for your report!
--
Shigio YAMAGUCHI <shigio@...>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


_______________________________________________
Bug-global mailing list
Bug-global@...
http://lists.gnu.org/mailman/listinfo/bug-global

Parent Message unknown Re: You need to increase the STACKSIZE in find.c

by George Neville-Neil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At Wed, 18 Feb 2009 15:26:24 +0900,
Shigio YAMAGUCHI wrote:

>
> Hi,
> > On a large project, such as the FreeBSD kernel, I could not longer get
> > gtags to complete.  There really seem to be two problems:
> >
> > 1) STACKSIZE is set to 50, and needs to be larger.  1024 worked for
> > me.
>
> OK. I'll rewrite the stack using dynamic allocated array.
>
> > 2) I believe, but am not sure, that the way in which files are
> > excluded is by finding each one first.  If I exclude the compile/
> > directory, by adding it to skip, gtags still tries to walk every patch
> > in that directory.  Shouldn't gtags simply ignore that directory
> > completely?
>
> You are right. I'll also change this illogical behavior.
>
> The following release might include these fixes.
> Thank you for your report!

どういたしまして。

I look forward to the next release.  I have written about global for
ACM's Queue magazine.  You might be interested to link to them from
here:

http://queue.acm.org/detail.cfm?id=945136

Best,
George


_______________________________________________
Bug-global mailing list
Bug-global@...
http://lists.gnu.org/mailman/listinfo/bug-global