public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Source Nav 4.5 XREF
@ 2000-07-17 17:35 Jorge E. Rodriguez
  2000-07-18 10:57 ` Mo DeJong
  0 siblings, 1 reply; 2+ messages in thread
From: Jorge E. Rodriguez @ 2000-07-17 17:35 UTC (permalink / raw)
  To: sourcenav

Hello,

I was wondering if there are any options/features  to source navigator 4.5 which would
allow me to determine all symbols which are not referenced in a given project.

My situation is that I have a C++ Source Nav project which may contain a
fairly sizeable amount of "dead code" (i.e. not used, not referenced,... you get it).
Well I would like to be able to get rid of these methods, constants,....

I was hoping that since source nav basically creates a Xref database, there would be a
way to query this XREF db (or run a command on it maybe) which would give me a list
(does not have to be graphical) of all the symbols which are not referenced.

Any help in this area would be greatly appreciated.


Regards,

Jorge

--
*****************************************************************
** Highlander, The leading supplier of Embedded CORBA Solutions ***
*****************************************************************
Jorge E. Rodriguez               jorge@highlander.com
Highlander Engineering           http://www.highlander.com
206 East Pine Street             Ph:  941.686.7767
Lakeland, Florida                Fax: 941.687.7767
33801-4967



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Source Nav 4.5 XREF
  2000-07-17 17:35 Source Nav 4.5 XREF Jorge E. Rodriguez
@ 2000-07-18 10:57 ` Mo DeJong
  0 siblings, 0 replies; 2+ messages in thread
From: Mo DeJong @ 2000-07-18 10:57 UTC (permalink / raw)
  To: sourcenav

On Mon, 17 Jul 2000, Jorge E. Rodriguez wrote:

> Hello,
> 
> I was wondering if there are any options/features  to source navigator 4.5 which would
> allow me to determine all symbols which are not referenced in a given project.
> 
> My situation is that I have a C++ Source Nav project which may contain a
> fairly sizeable amount of "dead code" (i.e. not used, not referenced,... you get it).
> Well I would like to be able to get rid of these methods, constants,....
> 
> I was hoping that since source nav basically creates a Xref database, there would be a
> way to query this XREF db (or run a command on it maybe) which would give me a list
> (does not have to be graphical) of all the symbols which are not referenced.
> 
> Any help in this area would be greatly appreciated.

You would need to write your own code to query the databade
for this sort of thing.

http://sources.redhat.com/sourcenav/online-docs/progref/index_pr.html

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-18 10:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-17 17:35 Source Nav 4.5 XREF Jorge E. Rodriguez
2000-07-18 10:57 ` Mo DeJong

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).