Support Requests item #1805756, was opened at 2007-10-01 17:54
Message generated for change (Settings changed) made by broeker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=204664&aid=1805756&group_id=4664
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Riccardo (riccardocohen)
>Assigned to: Hans-Bernhard Broeker (broeker)
Summary: output format
Initial Comment:
Hi
I'd like to have a global vision of the quality of cscope parsing. For that I would like to read the full cross reference generated (cscope.out). I cannot find any doc about it. Is this format documented ?
Thanks
----------------------------------------------------------------------
Comment By: Riccardo (riccardocohen)
Date: 2007-10-03 10:19
Message:
Logged In: YES
user_id=1082863
Originator: YES
ok thanks
I found cbrowser that works quite all right on mac.
now I'll focus on non interactive mode to have all info by myself.
thanks a lot
----------------------------------------------------------------------
Comment By: Hans-Bernhard Broeker (broeker)
Date: 2007-10-02 21:10
Message:
Logged In: YES
user_id=27517
Originator: NO
I think you've been searching in the wrong place from the start. You want
cscope line mode, or non-interactive mode. See the man page about the '-l'
and '-L' options. E.g. to list all function calls:
cscope -dL3 ".*
cscope doesn't do call graphs on its own, but there are separate tools
that use cscope output to construct one.
----------------------------------------------------------------------
Comment By: Riccardo (riccardocohen)
Date: 2007-10-02 11:36
Message:
Logged In: YES
user_id=1082863
Originator: YES
Thanks for the info. I found a text with my source code cut in pieces but
I could not find the systematic logic of it.
Actually all I need is the type of each symbol, where it is present, and
who calls it (call graph). But I would like to have the complete
information, not an interactive application. It is for my database.
Is there another output format where I can have the full cross reference
with files/lines easily readable ?
Thanks for any help.
----------------------------------------------------------------------
Comment By: Hans-Bernhard Broeker (broeker)
Date: 2007-10-02 00:01
Message:
Logged In: YES
user_id=27517
Originator: NO
There's no documentation because the format is not intended for outside
usage.
But if you generate it with digraph compression disabled (the -c option),
the format is mostly self-explanatory. Items found by the scanner are in
lines with a leading <TAB>, annotated with a single letter identifying the
type of item.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=204664&aid=1805756&group_id=4664
|