On Wed, Jun 15, 2016 at 7:00 AM, zet <feqin1...@gmail.com> wrote: > > I am reading the source of gcc(version 4.8.2), there is a important > symbol 'global_options' whose type is struct gcc_options > in cc1' entry function toplev_main(). > > I have build the gcc with make -g -O0, in gdb use ptype i can get the > content of struct gcc_options, > but in vim I cannot find its definition. > > $ ctags -R/ cscope -R > > And other symbol jump is correct, just struct gcc_options. > Did I missing something?
It's in a generated file. Look at gcc/options.h in your build directory. There are many generated files in the GCC build. Ian