From: Siva Chandra <sivachandra@google.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [RFC] While processing a struct die, store the method's address in its fn_field
Date: Wed, 26 Nov 2014 07:31:00 -0000 [thread overview]
Message-ID: <CAGyQ6gy0EwaAgZQSmQ25hW2uiYrdZw7ym2qoM_-zn_WcEDOAyw@mail.gmail.com> (raw)
In-Reply-To: <CADPb22Sb3r5RdXc_879iVF8uqMmjhoo9uAiyfOeKKTep6OL0Xw@mail.gmail.com>
Phew...
On Tue, Nov 25, 2014 at 7:22 PM, Doug Evans <dje@google.com> wrote:
> fwiw, GDB is bad enough that I often can't trust just reading the code.
> I often punt on that and actually single step through
> the relevant code to REALLY see what is happening.
I single stepped through the code and now see everything that you said here!
I believed this in gdbtypes.h:
889 /* * If is_stub is clear, this is the mangled name which
890 we can look up to find the address of the method
891 (FIXME: it would be cleaner to have a pointer to the
892 struct symbol here instead).
893
894 If is_stub is set, this is the portion of the mangled
895 name which specifies the arguments. For example, "ii",
896 if there are two int arguments, or "" if there are no
897 arguments. See gdb_mangle_name for the conversion from
898 this format to the one used if is_stub is clear. */
899
900 const char *physname;
Rest of what I thought I understood fell out from this belief! And the
names look so enticing.
Resetting my mind ...
next prev parent reply other threads:[~2014-11-26 7:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 15:55 Siva Chandra
2014-11-24 20:22 ` Doug Evans
2014-11-24 20:28 ` Doug Evans
2014-11-26 4:36 ` Doug Evans
2014-11-26 4:46 ` Siva Chandra
2014-11-26 5:05 ` Doug Evans
2014-11-25 15:00 ` Siva Chandra
2014-11-25 22:10 ` Doug Evans
2014-11-25 23:37 ` Siva Chandra
2014-11-26 3:22 ` Doug Evans
2014-11-26 3:58 ` Siva Chandra
2014-11-26 5:19 ` Doug Evans
2014-11-26 7:31 ` Siva Chandra [this message]
2014-11-26 21:11 ` Doug Evans
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=CAGyQ6gy0EwaAgZQSmQ25hW2uiYrdZw7ym2qoM_-zn_WcEDOAyw@mail.gmail.com \
--to=sivachandra@google.com \
--cc=dje@google.com \
--cc=gdb-patches@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