Re: [PATCH v5 1/5] gdb: make gdbarch store a vector of frame unwinders

Tom Tromey
2024-10-17T23:42:12Z

>>>>> "Thiago" == Thiago Jung Bauermann <thiago.bauermann@linaro.org> writes:

Sorry, didn't see this until now.

Thiago> Do you think it would be better if the vector was kept in a registry,
Thiago> like the current frame_unwind_table is? I.e, changing:

Thiago> static const registry<gdbarch>::key<struct frame_unwind_table>
Thiago> frame_unwind_data;
Thiago> to:
Thiago> static const registry<gdbarch>::key<std::vector<const frame_unwind *>>
Thiago> frame_unwind_data;
Thiago> ?

I tend to think so yes.

Tom