This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] Implement operator new
>>>>> "Markus" == Metzger, Markus T <markus.t.metzger@intel.com> writes:
Markus> New also accepts a braced-init-list, i.e. with {} instead of ().
I found a number of other cases that this patch doesn't correctly handle.
I'm not going to put it in until I fix them all.
I'll look at braced initializers.
>> + sym = lookup_symbol ("__aeabi_vec_ctor_cookie_nodtor",
>> + NULL, VAR_DOMAIN, NULL);
>> + if (sym != NULL)
>> + {
>> + /* ARM EABI has an extra slot. */
>> + *include_size = 1;
>> + multiplier = 2;
>> + }
>> + else
>> + *include_size = 0;
Markus> Shouldn't we be able to query the ABI from the ELF?
I don't know how.
Tom