public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Florian Doersch <gcc@fd.mytrap.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Default debug format
Date: Wed, 26 Jun 2019 12:41:00 -0000	[thread overview]
Message-ID: <20190626124108.GM7313@gate.crashing.org> (raw)
In-Reply-To: <853db68a-78d7-1efe-1e16-c6e126393528@ma.ra-doersch.de>

Hi Florian,

On Wed, Jun 26, 2019 at 07:42:38AM +0200, Florian Doersch wrote:
> on my AIX gcc, there are multiple "-g" variants available.
> 
> The problem is, that only "-gxcoff" creates proper (with AIX debugger 
> dbx) debuggable binaries.
> 
> How can I tell the gcc (i.e while building the gcc itself) that it 
> should use xcoff as the default? I havent found anything working about it.
> 
> I already tried to set PREFERRED_DEBUGGING_TYPE in 
> gcc/config/rs6000/aix72.h to XCOFF_DEBUG, but it did not make any 
> difference?

aix72.h has

/* AIX 7.2 supports DWARF3 debugging, but XCOFF remains the default.  */
#define DWARF2_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG

so it *already* defaults to XCOFF debugging.  Does this not work for you?


Segher

  reply	other threads:[~2019-06-26 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26  5:42 Florian Doersch
2019-06-26 12:41 ` Segher Boessenkool [this message]
2019-06-26 21:22   ` Jim Wilson
2019-06-28  9:31     ` Florian Doersch
2019-06-26 12:52 David Edelsohn

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=20190626124108.GM7313@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@fd.mytrap.de \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).