The .cc files are not "managed C++" (whatever that is), they're just plain
old C++.  If your Eclipse or whatever doesn't recognize .cc files as plain
C++, you just need to update its mapping from extensions to languages.

For local analysis, I use cscope; I think it's available as an ubuntu
package, and there's a script in the util directory (util/cscope-index.py)
that correctly builds the index across all the src subdirectories.
 Combined with the xemacs xcscope package it's pretty nice, though it only
covers the C++ part of the code.

We also have an experimental grok server running at grok.gem5.org.

Steve


On Thu, Nov 15, 2012 at 10:53 AM, Paul Rosenfeld <dramnin...@gmail.com>wrote:

> I imagine you mean something that can jump to a specific function or
> symbol in the tree? I think the go to tool is cscope. It works for C++, but
> it's not great since it can't understand namespaces or classes.
>
> There is a tool called "silentbob" supposed to be better for C++, but it's
> not maintained anymore. I haven't had any luck with it on large C++
> codebases (but never tried with gem5). Perhaps you can get it to work.
> http://silentbob.sourceforge.net/
>
> I was hoping some of the veterans might have some super awesome tool they
> use -- but maybe we're all stuck without a good answer.
>
> On Wed, Nov 14, 2012 at 11:07 AM, mir shan <mirsh...@yahoo.com> wrote:
>
>>
>> Hi Community
>> Suggest any tool for analyzing the source files.
>> I try eclipse but it supports c/c++ and Gem5 has .cc files (Managed c++)
>> I couldn't find any plugin in Eclipse for .cc files. An other Software
>> "SourceInsight" but linux doesn't support this.
>>
>> Thanks and regards
>> Mir
>> *
>> *
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to