From: Matthieu Longo <matthieu.longo@arm.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simark@simark.ca>,
Thiago Jung Bauermann <thiago.bauermann@linaro.org>,
Luis Machado <luis.machado@amd.com>,
Luis Machado <luis.machado.foss@gmail.com>,
Christina Joos <christina.joos@intel.com>,
Kevin Buettner <kevinb@redhat.com>
Subject: Re: [PATCH v2 0/6] gdb: introduce file_reader_t to read procfs files
Date: Thu, 3 Sep 2026 23:58:28 +0100 [thread overview]
Message-ID: <0d2b1eca-1b43-4f42-b6e1-85fac8e8e0a8@arm.com> (raw)
In-Reply-To: <20260825100912.514232-1-matthieu.longo@arm.com>
On 25/08/2026 11:09, Matthieu Longo wrote:
> Those patches were extracted from a previous patch series [1].
> Patches 1 and 2 are prerequisites to the next patches.
> Patch 3 introduces class file_reader_t, and patches 4, 5, and 5 migrates existing code to use this new class.
>
> Already reviewed but pending on a maintainer's approval: 1, 3, 4, 5
> Pending on review and approval: 2
> Already reviewed and approved: 6
>
> v1: https://inbox.sourceware.org/gdb-patches/20260728151700.253720-1-matthieu.longo@arm.com/
> Changes v1 -> v2:
> - in patch 3/6,
> - amended the commit message as requested by Christina to mention the behavioral change.
> - fix mistake in condition of adi_is_addr_mapped ()
> - made move constructor, and move assignment operator of file_reader_t use =default.
> - disabled copy constructor and copy assignment operator of file_reader_t.
>
> Changes diff against [1]:
> - remove reimplementation of std::replace, and use std::replace for gdb::ranges::replace.
> - addressed comments from Christina Schimpe and Chirstina Joos regarding the interface of class file_reader_t.
> - fix the implementation of extract_string_view_from_buffer after Luis found bugs in the previous implementation.
>
> This patch series depends on [2].
>
> [1]: https://inbox.sourceware.org/gdb-patches/20260707154900.94542-1-matthieu.longo@arm.com/
> [2]: https://inbox.sourceware.org/gdb-patches/20260728143317.245389-1-matthieu.longo@arm.com/
>
> Regards,
> Matthieu
>
>
> Matthieu Longo (6):
> target_fileio_read_stralloc: add an optional length parameter
> gdb support: add gdb::ranges::replace algorithm
> gdb: introduce helper class file_reader_t
> gdb/linux-tdep: migrate linux_info_proc to file_reader_t
> gdb/linux-tdep: migrate linux_find_memory_regions_full to file_reader_t
> gdb/linux-tdep: remove legacy parse_smaps_data overload
>
> gdb/amd64-linux-tdep.c | 12 +-
> gdb/linux-tdep.c | 295 +++++++++++++++++++++-------------------
> gdb/sparc64-tdep.c | 15 +-
> gdb/target.c | 11 +-
> gdb/target.h | 98 +++++++++++--
> gdbsupport/array-view.h | 16 +++
> 6 files changed, 278 insertions(+), 169 deletions(-)
>
Ping
next prev parent reply other threads:[~2026-09-03 23:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 10:09 Matthieu Longo
2026-08-25 10:09 ` [PATCH v2 1/6] target_fileio_read_stralloc: add an optional length parameter Matthieu Longo
2026-09-10 10:55 ` Andrew Burgess
2026-08-25 10:09 ` [PATCH v2 2/6] gdb support: add gdb::ranges::replace algorithm Matthieu Longo
2026-09-10 11:07 ` Andrew Burgess
2026-09-10 11:08 ` Andrew Burgess
2026-08-25 10:09 ` [PATCH v2 3/6] gdb: introduce helper class file_reader_t Matthieu Longo
2026-09-10 15:35 ` Andrew Burgess
2026-08-25 10:09 ` [PATCH v2 4/6] gdb/linux-tdep: migrate linux_info_proc to file_reader_t Matthieu Longo
2026-09-10 16:31 ` Andrew Burgess
2026-08-25 10:09 ` [PATCH v2 5/6] gdb/linux-tdep: migrate linux_find_memory_regions_full " Matthieu Longo
2026-09-11 8:34 ` Andrew Burgess
2026-08-25 10:09 ` [PATCH v2 6/6] gdb/linux-tdep: remove legacy parse_smaps_data overload Matthieu Longo
2026-09-11 8:41 ` Andrew Burgess
2026-09-16 10:55 ` Matthieu Longo
2026-09-03 22:58 ` Matthieu Longo [this message]
2026-09-08 10:27 ` [PATCH v2 0/6] gdb: introduce file_reader_t to read procfs files Matthieu Longo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d2b1eca-1b43-4f42-b6e1-85fac8e8e0a8@arm.com \
--to=matthieu.longo@arm.com \
--cc=christina.joos@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@redhat.com \
--cc=luis.machado.foss@gmail.com \
--cc=luis.machado@amd.com \
--cc=simark@simark.ca \
--cc=thiago.bauermann@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox