Sounds great, thanks for sharing! On Wed, Dec 5, 2012 at 3:14 AM, Yunfeng ZHANG <zyf.zer...@gmail.com> wrote: > Hi all: > I'm pleased to announce my gcc plugin on gcc-4.6.3 has been released, it > collects data from gcc compilation stage and dump them to sqlite-database just > like cscope, but with later enhancement. > 1) Function alias. To linux, later code often makes you confusion. > f_ops fs = { .open = ext2_open, }; > void foo(void) > { > fs.open = ext2_open; > ... > fs.open(); // << which function will be called, where is it? > } > The feature treats `ext2_open' as an alias of `open'. So when you search > `open', jump to `ext2_open'. Of course, you can get `ext2_open' is called by > `foo' reversely. > 2) Whether current line is skipped by `#ifdef/#if'. > 3) Extract defintion beyond macro tokens. > > Tested projects are mainly linux-2.6.35 (mips). Other source compiled include > gcc-4.6.3, glibc-2.13, gdb-7.4 of mips, qemu-1.1.1 of x86. > > Go from doc.txt of attachment, or http://gccsymdb.googlecode.com/svn/tags/v3/. > Yunfeng Zhang
-- James Michael DuPont Member of Free Libre Open Source Software Kosova http://flossk.org Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com Contributor FOSM, the CC-BY-SA map of the world http://fosm.org Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3 Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3