Dwarves Archive on lore.kernel.org
 help / color / Atom feed
From: Tom Tromey <tromey-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: failure with -gdwarf-4
Date: Fri, 01 Jul 2011 12:40:04 -0600
Message-ID: <m3d3htalq3.fsf@fleche.redhat.com> (raw)

pahole doesn't understand the new DWARF 4 .debug_types section.

I'm using the F15 GCC, but really any recent-enough GCC will do.
I compile this:

    struct s
      int x;
      int y : 5;
      int z;
    struct s i;

    int main()

Like so:

    gcc -gdwarf-4 -g -o d d.c

Running pahole gives an error:

    $ pahole --class_name=s ./d
    tag__recode_dwarf_type: couldn't find 0x1d type for 0x51 (variable)!

It would be nice to have support for this feature in dwarves, as
.debug_types can greatly reduce the size of the debuginfo in the final


To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \
    --in-reply-to=m3d3htalq3.fsf@fleche.redhat.com \
    --to=tromey-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Dwarves Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dwarves/0 dwarves/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dwarves dwarves/ https://lore.kernel.org/dwarves \
	public-inbox-index dwarves

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git