public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] C++ification of symfile_segment_data
@ 2020-05-19  1:35 Simon Marchi
  2020-05-19  1:35 ` [PATCH 1/3] gdb: allocate symfile_segment_data with new Simon Marchi
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Simon Marchi @ 2020-05-19  1:35 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

As I was reading this code, I did this simple translation from manual
memory management to using C++ constructs.

Simon Marchi (3):
  gdb: allocate symfile_segment_data with new
  gdb: use std::vector to store segments in symfile_segment_data
  gdb: make symfile_segment_data::segment_info an std::vector

 gdb/elfread.c       | 17 ++++++-----------
 gdb/remote.c        | 22 ++++++++++------------
 gdb/solib-target.c  | 18 ++++++++----------
 gdb/symfile-debug.c |  2 +-
 gdb/symfile.c       | 45 ++++++++++++++-------------------------------
 gdb/symfile.h       | 41 +++++++++++++++++++++++------------------
 6 files changed, 62 insertions(+), 83 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-05-19 16:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  1:35 [PATCH 0/3] C++ification of symfile_segment_data Simon Marchi
2020-05-19  1:35 ` [PATCH 1/3] gdb: allocate symfile_segment_data with new Simon Marchi
2020-05-19  1:35 ` [PATCH 2/3] gdb: use std::vector to store segments in symfile_segment_data Simon Marchi
2020-05-19 14:55   ` Tom Tromey
2020-05-19 14:52     ` Simon Marchi
2020-05-19 15:44       ` Tom Tromey
2020-05-19  1:35 ` [PATCH 3/3] gdb: make symfile_segment_data::segment_info an std::vector Simon Marchi
2020-05-19 14:57 ` [PATCH 0/3] C++ification of symfile_segment_data Tom Tromey
2020-05-19 16:25   ` Simon Marchi

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