Re: [PATCH v11 15/65] dyndbg: macrofy a 2-index for-loop pattern

From: Louis Chauvet

Date: Fri Mar 20 2026 - 12:43:28 EST


On Fri, 13 Mar 2026 07:19:40 -0600, Jim Cromie <jim.cromie@xxxxxxxxx> wrote:
> dynamic-debug currently has 2 __sections (__dyndbg, __dyndb_classes),
> struct _ddebug_info keeps track of them both, with 2 members each:
> _vec and _vec#_len.
>
> We need to loop over these sections, with index and record pointer,
> making ref to both _vec and _vec_len. This is already fiddly and
> error-prone, and will get worse as we add a 3rd section.
>
> [...]

Reviewed-by: Louis Chauvet <louis.chauvet@xxxxxxxxxxx>

--
Louis Chauvet <louis.chauvet@xxxxxxxxxxx>