bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: htags could use support for multiple --call-tree --callee-tree optio


From: Shigio YAMAGUCHI
Subject: Re: htags could use support for multiple --call-tree --callee-tree options
Date: Sat, 9 Apr 2016 21:16:22 +0900

Hi,
> htags could use support for multiple --call-tree --callee-tree options
>
> so for example:
>
>   htags --suggest --call-tree=foo_prog,foo_call_tree
> --call-tree=bar_prog,bar_call_tree

I agree with you. Is this also OK?

htags --call-tree=foo_prog --call-tree=foo_call_tree \
        --call-tree=bar_prog --call-tree=bar_call_tree

>   At present there is a slight inconsistancy within the page
> because the source files section shows all the mains but for the
> call/callee tree section a single program from the source tree must be
> chosen (because cflow ends up with only a single main for a given
> invocation).

You are right.

Regards,
Shigio


2016-04-09 6:31 GMT+09:00 Britton Kerin <address@hidden>:
so for example:

  htags --suggest --call-tree=foo_prog,foo_call_tree
--call-tree=bar_prog,bar_call_tree

This way the call tree section of the generated web page could be
consistent with the support for multiple main() function and general
way htags --suggest works in which all the source files are analyzed
together.  At present there is a slight inconsistancy within the page
because the source files section shows all the mains but for the
call/callee tree section a single program from the source tree must be
chosen (because cflow ends up with only a single main for a given
invocation).

The alternative is to not used --suggest but instead supply the file
list manually and produce separate pages for different programs that
come from a single code base.  But this is less convenient and
involves a lot of almost-identical pages for source bases that produce
programs that share a lot of common code.

Britton

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



--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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