public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCHv2 00/18] Further updates for the language class structure
@ 2020-08-05 14:45 Andrew Burgess
  2020-08-05 14:45 ` [PATCHv2 01/18] gdb: Convert la_struct_too_deep_ellipsis to a method Andrew Burgess
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: Andrew Burgess @ 2020-08-05 14:45 UTC (permalink / raw)
  To: gdb-patches

This v2 series replaces, and extends the earlier series I posted here:

    https://sourceware.org/pipermail/gdb-patches/2020-July/170288.html

The first 10 patches are the same as the previous series, while the
remaining 8 are new in this version of the series.

After this series the language_data base class is completely removed.

As I mentioned in the original patch series, I'm not 100% sure that
converting static data fields from language_data into virtual methods
on language_defn is the right approach, but getting rid of
language_data does feel like a good thing, so I pushed through and
completed the task.

I'd be interested in any feedback, do people think this is the right
approach, or are there any suggestions for a better approach.

Thanks,
Andrew

---

Andrew Burgess (18):
  gdb: Convert la_struct_too_deep_ellipsis to a method
  gdb: Convert la_name_of_this to a method
  gdb: Convert la_name and la_natural_name to methods
  gdb: Convert la_filename_extensions to a method
  gdb: Move la_language into the language_defn class
  gdb: Convert language_data::c_style_arrays to a method
  gdb: Fix an incorrect comment
  gdb: Convert language_data::string_lower_bound to a method
  gdb: Convert la_store_sym_names_in_linkage_form_p to a method
  gdb: Override store_sym_names_in_linkage_form_p for Go language
  gdb: Convert language_data::la_range_check to a method
  gdb: Convert language_data::la_case_sensitivity to a method
  gdb: Convert language_data::la_array_ordering to a method
  gdb: Convert language_data::la_macro_expansion to a method
  gdb: Convert language_data::la_varobj_ops to a method
  gdb: Convert language_data::la_exp_desc to a method
  gdb: Convert language_data::la_op_print_tab to a method
  gdb: Remove language_data struct

 gdb/ChangeLog         | 627 ++++++++++++++++++++++++++++++++++++++++++
 gdb/ada-lang.c        |  78 ++++--
 gdb/ax-gdb.c          |   2 +-
 gdb/c-exp.y           |   2 +-
 gdb/c-lang.c          | 268 ++++++++++--------
 gdb/compile/compile.c |   2 +-
 gdb/cp-valprint.c     |   4 +-
 gdb/d-lang.c          |  62 +++--
 gdb/dwarf2/read.c     |  10 +-
 gdb/eval.c            |   4 +-
 gdb/expprint.c        |  22 +-
 gdb/f-lang.c          |  87 ++++--
 gdb/go-lang.c         |  48 ++--
 gdb/infcall.c         |   2 +-
 gdb/language.c        | 186 ++++++++-----
 gdb/language.h        | 238 ++++++++--------
 gdb/m2-lang.c         |  60 ++--
 gdb/mi/mi-cmd-var.c   |   2 +-
 gdb/objc-lang.c       |  62 +++--
 gdb/opencl-lang.c     |  48 ++--
 gdb/p-lang.c          |  63 +++--
 gdb/parse.c           |   9 +-
 gdb/rust-lang.c       |  62 +++--
 gdb/symfile.c         |   1 +
 gdb/symtab.c          |  10 +-
 gdb/valarith.c        |   6 +-
 gdb/valops.c          |  14 +-
 gdb/valprint.c        |   4 +-
 gdb/value.c           |   7 +-
 gdb/varobj.c          |   2 +-
 gdb/varobj.h          |   2 -
 31 files changed, 1395 insertions(+), 599 deletions(-)

-- 
2.25.4


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-09-16 10:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 14:45 [PATCHv2 00/18] Further updates for the language class structure Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 01/18] gdb: Convert la_struct_too_deep_ellipsis to a method Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 02/18] gdb: Convert la_name_of_this " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 03/18] gdb: Convert la_name and la_natural_name to methods Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 04/18] gdb: Convert la_filename_extensions to a method Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 05/18] gdb: Move la_language into the language_defn class Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 06/18] gdb: Convert language_data::c_style_arrays to a method Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 07/18] gdb: Fix an incorrect comment Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 08/18] gdb: Convert language_data::string_lower_bound to a method Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 09/18] gdb: Convert la_store_sym_names_in_linkage_form_p " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 10/18] gdb: Override store_sym_names_in_linkage_form_p for Go language Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 11/18] gdb: Convert language_data::la_range_check to a method Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 12/18] gdb: Convert language_data::la_case_sensitivity " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 13/18] gdb: Convert language_data::la_array_ordering " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 14/18] gdb: Convert language_data::la_macro_expansion " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 15/18] gdb: Convert language_data::la_varobj_ops " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 16/18] gdb: Convert language_data::la_exp_desc " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 17/18] gdb: Convert language_data::la_op_print_tab " Andrew Burgess
2020-08-05 14:45 ` [PATCHv2 18/18] gdb: Remove language_data struct Andrew Burgess
2020-09-03 16:00 ` [PATCHv2 00/18] Further updates for the language class structure Andrew Burgess
2020-09-16 10:06   ` Andrew Burgess

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).