From: Riccardo Cohen <rcohen@dial.oleane.com>
To: sourcenav@sources.redhat.com
Subject: thanks
Date: Mon, 04 Jun 2001 04:36:00 -0000 [thread overview]
Message-ID: <3B1B80C2.5E67B8CD@dial.oleane.com> (raw)
I have been looking for a tool, cheap or free, that just gives the call tree in a proper manner.
Thank you to have done it in a marvelous package full of easy to use features.
Let me suggest one little thing. Suppose you have the two functions :
void dumfunc2()
{
dumclass *doubleinst; // should appear with another class in ref
doubleinst=new dumclass;
doubleinst->doit();
delete doubleinst;
}
void dumfunc3(dumclass *doubleinst)
{
doubleinst->doit();
}
Your analyse forget to tell that new and delete are called from the first one
(dump main.to)
# dumfunc2 fu # dumclass cl r 000064 D:/Devel/LIB_TOOL/CallGraf.2/main.cxx {} {}
# dumfunc2 fu # dumclass cl r 000065 D:/Devel/LIB_TOOL/CallGraf.2/main.cxx {} {}
# dumfunc2 fu dumclass doit mi r 000066 D:/Devel/LIB_TOOL/CallGraf.2/main.cxx {} {}
# dumfunc3 fu # dumclass cl r 000069 D:/Devel/LIB_TOOL/CallGraf.2/main.cxx {dumclass *} {}
# dumfunc3 fu dumclass doit mi r 000071 D:/Devel/LIB_TOOL/CallGraf.2/main.cxx {dumclass *} {}
so the two functions seems to be the same from the caller/called point of view.
There is also another point you may work on : sourcenavigator forgets base methods :
class a
{
public:
doit();
};
class b:class a
{
public:
call() {doit();}
}
dump try.to :
b call mi # doit ud r 000009 C:/zdrop/try.cxx {} {}
doit() is not undefined but a method of the base class "a".
Thanks anyway and please continue to support it !
--
Riccardo Cohen
Articque
Les Roches
37230 Fondettes
France
email = rcohen@dial.oleane.com
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49
reply other threads:[~2001-06-04 4:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B1B80C2.5E67B8CD@dial.oleane.com \
--to=rcohen@dial.oleane.com \
--cc=sourcenav@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).