From: Joel Brobecker <brobecker@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [commit/Ada] Add handling of "ptype TYPE_NAME.FIELD0.[...].FIELDN" expressions
Date: Sat, 05 Jan 2008 14:59:00 -0000 [thread overview]
Message-ID: <20080105145840.GE5975@adacore.com> (raw)
In-Reply-To: <ulk74v0gp.fsf@gnu.org>
> > 2008-01-04 Joel Brobecker <brobecker@adacore.com>
> >
> > * ada-exp.y (chop_separator): New function.
> > (write_selectors): Rewrite to re-use chop_separator.
> > (ada_nget_field_index, get_symbol_field_type): New functions.
> > (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
> > expressions.
>
> Is this an Ada-only problem? If not, why are we fixing it only for
> Ada?
I haven't tried with C, so I don't know (I am working with our testsuite
and trying to fix all the failures I get). The fix is necessarily
Ada-specific because the parser is parsing an Ada expression and needs
to know about the underlying encoding.
--
Joel
next prev parent reply other threads:[~2008-01-05 14:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 15:14 Joel Brobecker
2008-01-05 13:58 ` Eli Zaretskii
2008-01-05 14:59 ` Joel Brobecker [this message]
2008-01-05 18:53 ` Daniel Jacobowitz
2008-01-06 4:35 ` Joel Brobecker
2008-01-06 9:11 ` Andreas Schwab
2008-01-07 14:48 ` Joel Brobecker
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=20080105145840.GE5975@adacore.com \
--to=brobecker@adacore.com \
--cc=eliz@gnu.org \
--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