public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add array_view copy function and more
@ 2021-11-18 21:29 Simon Marchi
  2021-11-18 21:29 ` [PATCH v2 1/3] gdbsupport: add array_view copy function Simon Marchi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Simon Marchi @ 2021-11-18 21:29 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

This is a v2 of this patch and following (patch 1/4 of the original
series has been merged):

  https://sourceware.org/pipermail/gdb-patches/2021-November/183250.html

The changes are in patch "gdbsupport: add array_view copy function".
Unit tests were added, and the copy function is now implemented using
std::copy and std::copy_backwards.

Simon Marchi (3):
  gdbsupport: add array_view copy function
  gdb: make extract_integer take an array_view
  gdb: trivial changes to use array_view

 gdb/ada-lang.c                       |  17 ++---
 gdb/defs.h                           |  23 +++++-
 gdb/dwarf2/expr.c                    |   8 +--
 gdb/findvar.c                        |  35 +++++----
 gdb/frame.c                          |   6 +-
 gdb/regcache.c                       |  21 +++---
 gdb/rust-lang.c                      |  10 ++-
 gdb/unittests/array-view-selftests.c | 104 +++++++++++++++++++++++++++
 gdb/unittests/gmp-utils-selftests.c  |   2 +-
 gdb/valarith.c                       |  58 +++++++--------
 gdb/valops.c                         |  72 +++++++++----------
 gdb/value.c                          |  24 +++----
 gdbsupport/array-view.h              |  18 +++++
 13 files changed, 261 insertions(+), 137 deletions(-)

-- 
2.33.1


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

end of thread, other threads:[~2021-11-22  1:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 21:29 [PATCH v2 0/3] Add array_view copy function and more Simon Marchi
2021-11-18 21:29 ` [PATCH v2 1/3] gdbsupport: add array_view copy function Simon Marchi
2021-11-19 18:11   ` Pedro Alves
2021-11-22  1:32     ` Simon Marchi
2021-11-18 21:29 ` [PATCH v2 2/3] gdb: make extract_integer take an array_view Simon Marchi
2021-11-18 21:29 ` [PATCH v2 3/3] gdb: trivial changes to use array_view 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).