public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Use std::vector and std::string throughout target-descriptions.c
@ 2017-10-31  1:42 Simon Marchi
  2017-10-31  1:42 ` [PATCH 05/10] Make tdesc_feature::registers an std::vector Simon Marchi
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Simon Marchi @ 2017-10-31  1:42 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

This patch series replaces VECs with std::vector and char* with std::string in
the tdesc classes.  The objective is to remove the usage of VECs and the manual
memory management.  The whole series was tested on the buildbot.  At each step,
I tried to re-generate the C target descriptions.  Only one patch causes a
visible change, which is harmless I think.

Simon Marchi (10):
  Make target_desc::properties an std::vector
  Make target_desc::compatible an std::vector
  Make target_desc::features an std::vector
  Make tdesc_feature::name an std::string
  Make tdesc_feature::registers an std::vector
  Make tdesc_reg string fields std::string
  Make tdesc_feature::types an std::vector
  Make tdesc_type::name an std::string
  Make tdesc_type::u::u::fields an std::vector
  Make tdesc_arch_data::arch_regs an std::vector

 gdb/features/arc-arcompact.c |   2 +-
 gdb/features/arc-v2.c        |   4 +-
 gdb/target-descriptions.c    | 704 ++++++++++++++++---------------------------
 3 files changed, 269 insertions(+), 441 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-12-05 21:42 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31  1:42 [PATCH 00/10] Use std::vector and std::string throughout target-descriptions.c Simon Marchi
2017-10-31  1:42 ` [PATCH 05/10] Make tdesc_feature::registers an std::vector Simon Marchi
2017-11-02  9:32   ` Yao Qi
2017-11-02 13:22     ` Simon Marchi
2017-10-31  1:42 ` [PATCH 04/10] Make tdesc_feature::name an std::string Simon Marchi
2017-10-31  1:42 ` [PATCH 10/10] Make tdesc_arch_data::arch_regs an std::vector Simon Marchi
2017-10-31  1:42 ` [PATCH 09/10] Make tdesc_type::u::u::fields " Simon Marchi
2017-11-02 10:02   ` Yao Qi
2017-11-02 13:27     ` Simon Marchi
2017-12-03 16:04       ` [PATCH 11/10] Split tdesc_type into multiple classes Simon Marchi
2017-12-05 16:46         ` Yao Qi
2017-12-05 21:42           ` Simon Marchi
2017-10-31  1:42 ` [PATCH 08/10] Make tdesc_type::name an std::string Simon Marchi
2017-10-31  1:42 ` [PATCH 06/10] Make tdesc_reg string fields std::string Simon Marchi
2017-11-02  9:43   ` Yao Qi
2017-11-02 13:24     ` Simon Marchi
2017-10-31  1:42 ` [PATCH 03/10] Make target_desc::features an std::vector Simon Marchi
2017-11-02  9:29   ` Yao Qi
2017-11-02 13:20     ` Simon Marchi
2017-10-31  1:42 ` [PATCH 01/10] Make target_desc::properties " Simon Marchi
2017-10-31  1:42 ` [PATCH 07/10] Make tdesc_feature::types " Simon Marchi
2017-10-31  1:43 ` [PATCH 02/10] Make target_desc::compatible " Simon Marchi
2017-11-02 10:16 ` [PATCH 00/10] Use std::vector and std::string throughout target-descriptions.c Yao Qi

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