This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

get the location of the definition of expression's type?


Hello, All

When (gdb) ptype global_options
I will get definition of the type of global_options whose type is
'struct gcc_options'

Is it possible get the definition location(which file it is defined
in) info  of 'struct gcc_options'?

I know the line info of 'struct gcc_options' in ELF may lose, but is
gdb has the facility show the line info of the symbol?

thx

-- 
äçäå,èäå..


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]