source-insight

How to get a whole list of compiled files of Linux kernel?

吃可爱长大的小学妹 提交于 2019-12-20 03:55:19
问题 I'm working on different Android projects and need to setup project in Source Insight for different kernel source tree. There are many unused files in kernel, I want to find a method to pick out all .c,.h,.S files that are compiled in kernel. I was nearly crazy when I pick the source files manually. I'd wrote a script that can pick up the files corresponding to the .o files, but there are some .o files are compiled by multiple .c files, which make it more complicated. Is there an easier way

Assembly code support in source insight

99封情书 提交于 2019-12-12 21:17:13
问题 Has anybody tried browsing assembly language file (filename.s) in source insight? I just added whole Linux kernel project into source insight but it does not support any of the assembly files. 回答1: In The File field -> Load file -> Browse [give path]-> File Type [make it as all] Then you will find your ".s" file open it , You can use it like normal files 回答2: When you create the project in Sourceinsight, it adds all the types of files (like *.c, *.h, *.cpp, etc) it knows. It also adds

How can I make SourceInsight understand smart pointers?

寵の児 提交于 2019-12-06 16:28:10
问题 If my code uses smart pointers, navigation and completion don't work with SourceInsight. For example with this simple example code: class test { public: void fun(){} }; int main() { boost::scoped_ptr<test> a; a->fun(); return 0; } When I click fun() in main , SourceInsight tells me "symbol not found" . Is there something I should do to fix that, or does SourceInsight have limitations? 回答1: So I've given this a try. Downloaded, virus-scanned, signed up for free trial, installed wine, run! Now,

Source Insight //TODO comment

久未见 提交于 2019-12-06 10:11:27
问题 a bit silly, but it is driving me crazy, i recently started working with Source Insight, and in order to get a proper looking //TODO - comment you need to write // TODO (with an extra space). i tried looking around the config for a way to remove this extra space, couldn't find it, and cant get used to writing it with the extra space (i tried). any way to solve this? or should i embrace this, and then slowly, learn to cherish it. Thank you. 回答1: Go to Options->Style Properties Add a new Style

How can I make SourceInsight understand smart pointers?

北城余情 提交于 2019-12-04 22:09:53
If my code uses smart pointers, navigation and completion don't work with SourceInsight. For example with this simple example code: class test { public: void fun(){} }; int main() { boost::scoped_ptr<test> a; a->fun(); return 0; } When I click fun() in main , SourceInsight tells me "symbol not found" . Is there something I should do to fix that, or does SourceInsight have limitations? So I've given this a try. Downloaded, virus-scanned, signed up for free trial, installed wine, run! Now, I can make SourceInsight import the symbols from the Boost directories: I then enter the path to my Boost

How to get a whole list of compiled files of Linux kernel?

蓝咒 提交于 2019-12-02 03:52:12
I'm working on different Android projects and need to setup project in Source Insight for different kernel source tree. There are many unused files in kernel, I want to find a method to pick out all .c,.h,.S files that are compiled in kernel. I was nearly crazy when I pick the source files manually. I'd wrote a script that can pick up the files corresponding to the .o files, but there are some .o files are compiled by multiple .c files, which make it more complicated. Is there an easier way to know what files are handled in the compiling process? Any information would be greatly appreciated.