From: zet <feqin1023@gmail.com>
To: gdb@sourceware.org
Subject: get the location of the definition of expression's type?
Date: Wed, 15 Jun 2016 13:48:00 -0000 [thread overview]
Message-ID: <CAOfAq_q18S6VxzR=j-zKaVQ4EXeJW9=RDQfbRt0xSX=va_wT2g@mail.gmail.com> (raw)
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
--
业精于勤,荒于嬉..
next reply other threads:[~2016-06-15 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-15 13:48 zet [this message]
2016-06-15 14:39 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOfAq_q18S6VxzR=j-zKaVQ4EXeJW9=RDQfbRt0xSX=va_wT2g@mail.gmail.com' \
--to=feqin1023@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox