public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Use gdb::array_view some more, plug leaks
@ 2018-10-15 15:11 Pedro Alves
  2018-10-15 15:11 ` [PATCH 2/6] invoke_xmethod & array_view Pedro Alves
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Pedro Alves @ 2018-10-15 15:11 UTC (permalink / raw)
  To: gdb-patches

This is the series that I had pointed Gary at in review of one of his
Coverity leak fixes:

  https://sourceware.org/ml/gdb-patches/2018-10/msg00258.html

It fixes that leak and the others I pointed at by converting
badness_vector to a std::vector.

I had originally written that std::vector patch as part of a series to
make more use of gdb::array_view.  I tried splitting it out of the
rest of the series, but quickly gave that up as it was messier than it
sounded, and was just pointless make work.  Instead, I've now rebased
the whole series, cleaned it up some more, wrote ChangeLogs, etc.  The
last patch is new too.

Pedro Alves (6):
  Use gdb:array_view in call_function_by_hand & friends
  invoke_xmethod & array_view
  Eliminate make_symbol_overload_list-related globals & cleanup
  C++ify badness_vector, fix leaks
  valops.c: Some more gdb::array_view
  valops.c: Overload resolution code: Rename parameters/locals

 gdb/ada-lang.c                       |   4 +-
 gdb/common/array-view.h              |  52 +++++
 gdb/compile/compile-object-run.c     |   4 +-
 gdb/cp-support.c                     | 142 +++++++-------
 gdb/cp-support.h                     |  13 +-
 gdb/elfread.c                        |   2 +-
 gdb/eval.c                           |  32 ++--
 gdb/extension.c                      |  12 +-
 gdb/extension.h                      |  32 ++--
 gdb/gcore.c                          |   2 +-
 gdb/gdbtypes.c                       |  50 +++--
 gdb/gdbtypes.h                       |  18 +-
 gdb/guile/scm-value.c                |   4 +-
 gdb/infcall.c                        |  29 +--
 gdb/infcall.h                        |   7 +-
 gdb/linux-fork.c                     |   7 +-
 gdb/linux-tdep.c                     |   4 +-
 gdb/objc-lang.c                      |  13 +-
 gdb/python/py-value.c                |   6 +-
 gdb/python/py-xmethods.c             |  40 ++--
 gdb/rust-lang.c                      |   2 +-
 gdb/unittests/array-view-selftests.c |  35 ++++
 gdb/valarith.c                       |  53 +++---
 gdb/valops.c                         | 355 ++++++++++++++++-------------------
 gdb/value.c                          |  13 +-
 gdb/value.h                          |   6 +-
 26 files changed, 484 insertions(+), 453 deletions(-)

-- 
2.14.4

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

end of thread, other threads:[~2018-11-26 18:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 15:11 [PATCH 0/6] Use gdb::array_view some more, plug leaks Pedro Alves
2018-10-15 15:11 ` [PATCH 2/6] invoke_xmethod & array_view Pedro Alves
2018-10-17 16:21   ` Simon Marchi
2018-11-21 12:47     ` Pedro Alves
2018-11-26 17:18       ` Simon Marchi
2018-11-26 17:54         ` Pedro Alves
2018-11-26 18:28           ` Simon Marchi
2018-10-15 15:11 ` [PATCH 3/6] Eliminate make_symbol_overload_list-related globals & cleanup Pedro Alves
2018-10-17 17:25   ` Simon Marchi
2018-11-21 12:47     ` Pedro Alves
2018-10-15 15:11 ` [PATCH 1/6] Use gdb:array_view in call_function_by_hand & friends Pedro Alves
2018-10-17  1:45   ` Simon Marchi
2018-11-21 12:39     ` Pedro Alves
2018-10-15 15:11 ` [PATCH 5/6] valops.c: Some more gdb::array_view Pedro Alves
2018-10-17 18:03   ` Simon Marchi
2018-11-21 12:48     ` Pedro Alves
2018-10-15 15:16 ` [PATCH 4/6] C++ify badness_vector, fix leaks Pedro Alves
2018-10-17 17:44   ` Simon Marchi
2018-11-21 12:47     ` Pedro Alves
2018-10-15 15:18 ` [PATCH 6/6] valops.c: Overload resolution code: Rename parameters/locals Pedro Alves

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