From: Tom Tromey <tom@tromey.com>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 0/7] Language Class Hierarchy Conversion (Prt 3)
Date: Fri, 19 Jun 2020 08:25:56 -0600 [thread overview]
Message-ID: <87r1ubxhcb.fsf@tromey.com> (raw)
In-Reply-To: <cover.1592519094.git.andrew.burgess@embecosm.com> (Andrew Burgess's message of "Thu, 18 Jun 2020 23:31:47 +0100")
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> In this third patch set I convert the last remaining function pointers
Andrew> in the language_base structure into member function in language_defn.
Andrew> There wasn't anything particularaly tricky in this batch.
I skimmed these and it all seems fine to me.
Andrew> After this set my plans are (in no particular order):
Andrew> - Convert at least some of the data members in language_base into
Andrew> member function in language_defn.
Andrew> - Move some of the language classes into header files so that member
Andrew> functions can be defined in different .c files. This will allow
Andrew> me to remove most of the member functions that currently just
Andrew> redirect to a function in another file.
Andrew> - Possibly restructure the language class hierarchy to increase the
Andrew> amount of sharing that exists between similar languages.
Andrew> - Make more of the per-language helper functions private functions
Andrew> within the language classes.
Andrew> Thoughts, feedback, or ideas always welcome.
I wouldn't mind getting rid of the LA_* macros. Especially after this
series, I don't think they add much.
Tom
next prev parent reply other threads:[~2020-06-19 14:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 22:31 Andrew Burgess
2020-06-18 22:31 ` [PATCH 1/7] gdb: Convert language la_parser field to a method Andrew Burgess
2020-06-18 22:31 ` [PATCH 2/7] gdb: Convert language la_post_parser " Andrew Burgess
2020-06-18 22:31 ` [PATCH 3/7] gdb: Convert language la_emitchar " Andrew Burgess
2020-06-18 22:31 ` [PATCH 4/7] gdb: Convert language la_printchar " Andrew Burgess
2020-06-18 22:31 ` [PATCH 5/7] gdb: Convert language la_printstr " Andrew Burgess
2020-06-18 22:31 ` [PATCH 6/7] gdb: Convert language la_print_typedef " Andrew Burgess
2020-06-18 22:31 ` [PATCH 7/7] gdb: Convert language la_is_string_type_p " Andrew Burgess
2020-06-19 14:25 ` Tom Tromey [this message]
2020-06-19 16:18 ` [PATCH 0/7] Language Class Hierarchy Conversion (Prt 3) Andrew Burgess
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=87r1ubxhcb.fsf@tromey.com \
--to=tom@tromey.com \
--cc=andrew.burgess@embecosm.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).