Re: [PATCH v1 08/10] gdb/linux-tdep: migrate parse_smaps_data to file_reader_t

Matthieu Longo <[email protected]> Mon, 27 Jul 2026 18:17:58 +0100
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
On 21/07/2026 22:49, Luis wrote:
> Empty commit message.
> 
For the next revision.

gdb/linux-tdep: remove legacy parse_smaps_data overload

    Now that all callers use the file_reader_t overload of parse_smaps_data,
    the legacy interface taking a raw buffer and filename separately is no
    longer needed.

    Fold its implementation into the file_reader_t version and remove the
    obsolete wrapper.  This also simplifies the implementation by using the
    file_reader_t accessors directly.

    Reviewed-By: Thiago Jung Bauermann <[email protected]>
    Reviewed-By: Luis Machado <[email protected]>