public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Burgess <andrew.burgess@embecosm.com>
To: gdb-patches@sourceware.org
Subject: [PATCHv2 00/13] Starting to convert languages to separate classes
Date: Fri, 15 May 2020 16:06:39 +0100	[thread overview]
Message-ID: <cover.1589555076.git.andrew.burgess@embecosm.com> (raw)
In-Reply-To: <cover.1589235908.git.andrew.burgess@embecosm.com>

Thank you for all the feedback.

Differences from v1:

  - Addresses all of the improvements suggested in v1.

  - Added 4 additional field conversions.

Thanks,
Andrew



---

Andrew Burgess (13):
  gdb: Represent all languages as sub-classes of language_defn
  gdb: Convert language la_print_array_index field to a method
  gdb: Convert language la_read_var_value field to a method
  gdb: Convert language la_pass_by_reference field to a method
  gdb: Convert language la_language_arch_info field to a method
  gdb: Convert language la_lookup_transparent_type field to a method
  gdb: Convert language la_iterate_over_symbols field to a method
  gdb: Convert language la_get_compile_instance field to a method
  gdb: Convert language la_search_name_hash field to a method
  gdb: Convert language la_sniff_from_mangled_name field to a method
  gdb: Convert language la_print_type field to a method
  gdb: Convert language la_demangle field to a method
  gdb: Convert language skip_trampoline field to a method

 gdb/ChangeLog         | 531 ++++++++++++++++++++++++++++++++++++++++++
 gdb/ada-lang.c        | 359 ++++++++++++++--------------
 gdb/c-lang.c          | 358 +++++++++++++++++++---------
 gdb/c-lang.h          |   4 +-
 gdb/compile/compile.c |   8 +-
 gdb/cp-abi.c          |   2 +-
 gdb/cp-support.c      |   9 -
 gdb/cp-support.h      |   4 -
 gdb/d-lang.c          | 194 ++++++++-------
 gdb/dictionary.c      |   2 +-
 gdb/f-lang.c          | 139 ++++++-----
 gdb/findvar.c         |  13 +-
 gdb/gnu-v3-abi.c      |   3 +-
 gdb/go-lang.c         | 167 +++++++------
 gdb/language.c        | 253 ++++++++++----------
 gdb/language.h        | 300 ++++++++++++------------
 gdb/linespec.c        |   2 +-
 gdb/m2-lang.c         |  91 ++++----
 gdb/objc-lang.c       | 136 ++++++-----
 gdb/opencl-lang.c     | 104 +++++----
 gdb/p-lang.c          | 137 ++++++-----
 gdb/rust-exp.y        |   4 +-
 gdb/rust-lang.c       | 163 ++++++-------
 gdb/symtab.c          |   8 +-
 gdb/value.h           |   4 -
 25 files changed, 1887 insertions(+), 1108 deletions(-)

-- 
2.25.4


  parent reply	other threads:[~2020-05-15 15:07 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 22:35 [PATCH 0/9] " Andrew Burgess
2020-05-11 22:35 ` [PATCH 1/9] gdb: Represent all languages as sub-classes of language_defn Andrew Burgess
2020-05-11 22:35 ` [PATCH 2/9] gdb: Convert language la_print_array_index field to a method Andrew Burgess
2020-05-11 22:35 ` [PATCH 3/9] gdb: Convert language la_read_var_value " Andrew Burgess
2020-05-14 19:43   ` Tom Tromey
2020-05-11 22:35 ` [PATCH 4/9] gdb: Convert language la_pass_by_reference " Andrew Burgess
2020-05-14 11:00   ` Aktemur, Tankut Baris
2020-05-14 19:49     ` Tom Tromey
2020-05-14 19:48   ` Tom Tromey
2020-05-11 22:35 ` [PATCH 5/9] gdb: Convert language la_language_arch_info " Andrew Burgess
2020-05-11 22:35 ` [PATCH 6/9] gdb: Convert language la_lookup_transparent_type " Andrew Burgess
2020-05-11 22:35 ` [PATCH 7/9] gdb: Convert language la_iterate_over_symbols " Andrew Burgess
2020-05-12 23:21   ` Christian Biesinger
2020-05-11 22:35 ` [PATCH 8/9] gdb: Convert language la_get_compile_instance " Andrew Burgess
2020-05-12 21:11   ` Christian Biesinger
2020-05-11 22:35 ` [PATCH 9/9] gdb: Convert language la_search_name_hash " Andrew Burgess
2020-05-12 21:10   ` Christian Biesinger
2020-05-12 23:17 ` [PATCH 0/9] Starting to convert languages to separate classes Christian Biesinger
2020-05-13  1:33 ` Simon Marchi
2020-05-14 19:57 ` Tom Tromey
2020-05-15 15:06 ` Andrew Burgess [this message]
2020-05-15 15:06   ` [PATCHv2 01/13] gdb: Represent all languages as sub-classes of language_defn Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 02/13] gdb: Convert language la_print_array_index field to a method Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 03/13] gdb: Convert language la_read_var_value " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 04/13] gdb: Convert language la_pass_by_reference " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 05/13] gdb: Convert language la_language_arch_info " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 06/13] gdb: Convert language la_lookup_transparent_type " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 07/13] gdb: Convert language la_iterate_over_symbols " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 08/13] gdb: Convert language la_get_compile_instance " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 09/13] gdb: Convert language la_search_name_hash " Andrew Burgess
2020-05-15 17:47     ` Christian Biesinger
2020-05-15 15:06   ` [PATCHv2 10/13] gdb: Convert language la_sniff_from_mangled_name " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 11/13] gdb: Convert language la_print_type " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 12/13] gdb: Convert language la_demangle " Andrew Burgess
2020-05-15 15:06   ` [PATCHv2 13/13] gdb: Convert language skip_trampoline " Andrew Burgess
2020-05-15 17:06   ` [PATCHv2 00/13] Starting to convert languages to separate classes Tom Tromey
2020-06-01 16:02   ` 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=cover.1589555076.git.andrew.burgess@embecosm.com \
    --to=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).