Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Metzger, Markus T" <markus.t.metzger@intel.com>
To: Tom Tromey <tromey@redhat.com>,
	"gdb-patches@sourceware.org"	<gdb-patches@sourceware.org>
Subject: RE: [PATCH 2/2] Implement operator new
Date: Wed, 04 Jul 2012 08:56:00 -0000	[thread overview]
Message-ID: <A78C989F6D9628469189715575E55B2307AB4E83@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <87ehostvf4.fsf@fleche.redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 770 bytes --]

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Tom Tromey
> Sent: Tuesday, July 03, 2012 10:57 PM
> To: gdb-patches@sourceware.org

[...]

> +new_init:	'('
> +			{
> +			  start_arglist ();
> +			}
> +		arglist ')'
> +			{
> +			  $$ = end_arglist ();
> +			}
> +	|	{ $$ = 0; }
> +	;

New also accepts a braced-init-list, i.e. with {} instead of ().


> +  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;

Shouldn't we be able to query the ABI from the ELF?


[...]

Markus.

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 7228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 417 bytes --]

--------------------------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland 
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052

  reply	other threads:[~2012-07-04  8:56 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 [this message]
2012-07-05 18:01   ` Tom Tromey
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=A78C989F6D9628469189715575E55B2307AB4E83@IRSMSX102.ger.corp.intel.com \
    --to=markus.t.metzger@intel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.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