Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@adacore.com>
To: Andreas Arnez <arnez@linux.vnet.ibm.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb@sourceware.org
Subject: Re: Unexpected DW_AT_type for Ada strings on s390x?
Date: Wed, 05 Dec 2012 09:33:00 -0000	[thread overview]
Message-ID: <2301394.PMxbZnumZx@polaris> (raw)
In-Reply-To: <87r4n4hmzh.fsf@linux.vnet.ibm.com>

> Right, the two-element structure is passed by reference on s390x.  But
> that also applies to the same structure in C/C++.  Nevertheless, with C
> the argument's DW_AT_type reflects the real type and gcc adjusts the
> DW_AT_location instead.

It's passed by invisible reference in C and explicit reference in Ada.

> Thanks.  Eric, do you confirm that it's intentional to adjust the
> DW_AT_type based on ABI?

The ABIs are indeed different so the debug info will be different.

-- 
Eric Botcazou


  reply	other threads:[~2012-12-05  9:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 11:27 Andreas Arnez
2012-12-04 12:11 ` Joel Brobecker
2012-12-05  9:22   ` Andreas Arnez
2012-12-05  9:33     ` Eric Botcazou [this message]
2012-12-06  4:52     ` Joel Brobecker
2012-12-06 13:40       ` Andreas Arnez
2012-12-07  3:03         ` Joel Brobecker

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=2301394.PMxbZnumZx@polaris \
    --to=ebotcazou@adacore.com \
    --cc=arnez@linux.vnet.ibm.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    /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