From: Tom Tromey <tromey@redhat.com>
To: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
Cc: "'Jan Kratochvil'" <jan.kratochvil@redhat.com>,
<gdb-patches@sourceware.org>
Subject: Re: [RFA] PR 11530: Fix and test case
Date: Fri, 07 May 2010 17:45:00 -0000 [thread overview]
Message-ID: <m3sk63fvxd.fsf@fleche.redhat.com> (raw)
In-Reply-To: <28104.8831450336$1273095904@news.gmane.org> (Pierre Muller's message of "Wed, 5 May 2010 23:44:47 +0200")
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
%om> That is interesting. Why does it work in one case but not the other?
Pierre> for the first test 'p a.i'
Pierre> gdb calls search_struct_field,
Pierre> which has already some code (around line 1842)
Pierre> to cope for unnamed fields.
Pierre> There was no equivalent in the lookup_struct_elt_type
Pierre> function.
Thanks.
Pierre> By the way, the search_struct_field function
Pierre> also allows a union called "else" to be searched.
Pierre> Should this also be inserted into lookup_struct_elt_type
Pierre> or is this only a left over from Chill language?
I was not even aware of this case. I have no idea what it is for.
I suppose that's the danger of putting language-specific code into a
generic function...
Tom
next prev parent reply other threads:[~2010-05-07 17:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 21:50 Pierre Muller
2010-04-30 8:20 ` Jan Kratochvil
2010-04-30 11:08 ` Joseph S. Myers
2010-04-30 13:12 ` Pierre Muller
[not found] ` <15700.946111656$1272633144@news.gmane.org>
2010-04-30 17:29 ` Tom Tromey
2010-05-05 21:44 ` Pierre Muller
[not found] ` <28104.8831450336$1273095904@news.gmane.org>
2010-05-07 17:45 ` Tom Tromey [this message]
[not found] <36245.8778698512$1272577829@news.gmane.org>
2010-04-30 17:26 ` Tom Tromey
2010-05-05 22:11 ` Pierre Muller
[not found] ` <1723.54181199825$1273097500@news.gmane.org>
2010-05-07 17:45 ` Tom Tromey
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=m3sk63fvxd.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=pierre.muller@ics-cnrs.unistra.fr \
/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