Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Metzger\, Markus T" <markus.t.metzger@intel.com>
Cc: "gdb-patches\@sourceware.org"	<gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] Implement operator new
Date: Thu, 05 Jul 2012 18:01:00 -0000	[thread overview]
Message-ID: <87mx3erstj.fsf@fleche.redhat.com> (raw)
In-Reply-To: <A78C989F6D9628469189715575E55B2307AB4E83@IRSMSX102.ger.corp.intel.com>	(Markus T. Metzger's message of "Wed, 4 Jul 2012 08:55:55 +0000")

>>>>> "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


  reply	other threads:[~2012-07-05 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 20:57 Tom Tromey
2012-07-04  8:56 ` Metzger, Markus T
2012-07-05 18:01   ` Tom Tromey [this message]
2012-07-06  9:28     ` Metzger, Markus T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mx3erstj.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=markus.t.metzger@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox