Re: A cscope-like gcc plugin

2013-04-09 Thread Yunfeng ZHANG
New feature (offsetof) has been implemented to my plugin. Consider you've got a memory address by hardware debug tool in Linux and make sure it refers to a variable of task_struct, now you need compute the address of tsk->mm, but it isn't easy since there're too much members before it struct t

Re: A cscope-like gcc plugin

2012-12-05 Thread Mike Dupont
Sounds great, thanks for sharing! On Wed, Dec 5, 2012 at 3:14 AM, Yunfeng ZHANG 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. >