This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
get the location of the definition of expression's type?
- From: zet <feqin1023 at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 15 Jun 2016 21:48:20 +0800
- Subject: get the location of the definition of expression's type?
- Authentication-results: sourceware.org; auth=none
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
--
äçäå,èäå..