[RFC][PATCH 5/7] Add the option to defer register storage for compiled object loading
Tom Tromey
tom@tromey.com
Fri May 22 19:39:30 GMT 2020
>>>>> ">" == paul-naert via Gdb-patches <gdb-patches@sourceware.org> writes:
>> + if (scope == COMPILE_I_PATCH_SCOPE)
>> + {
>> + deferred_regs_store = new regs_store_data[TYPE_NFIELDS(regs_type)];
>> + }
We'd probably use a vector here, though I guess the way these data
structures are allocated makes that more of a pain.
>> + /* The number of registers to be stored. */
>> + int regs_store_num;
This would be redundant with a vector.
Tom
More information about the Gdb-patches
mailing list