Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* get the location of the definition of expression's type?
@ 2016-06-15 13:48 zet
  2016-06-15 14:39 ` Jan Kratochvil
  0 siblings, 1 reply; 2+ messages in thread
From: zet @ 2016-06-15 13:48 UTC (permalink / raw)
  To: gdb

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

-- 
业精于勤,荒于嬉..


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-15 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 13:48 get the location of the definition of expression's type? zet
2016-06-15 14:39 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox