public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/9977] New: DW_OP_piece used to specify underined part of location is ignored Date: Sat, 21 Mar 2009 22:54:00 -0000 [thread overview] Message-ID: <20090321225408.9977.hubicka@gcc.gnu.org> (raw) I am trying to add support to GCC to track SRAed structures and for structure where some fields are optimized out I am producing following die: .uleb128 0x15 # (DIE (0x347) DW_TAG_variable) .ascii "a\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (t.c) .byte 0x11 # DW_AT_decl_line .long 0x318 # DW_AT_type .byte 0x8 # DW_AT_location .byte 0x93 # DW_OP_piece .uleb128 0x4 .byte 0x56 # DW_OP_reg6 .byte 0x93 # DW_OP_piece .uleb128 0x4 .byte 0x50 # DW_OP_reg0 .byte 0x93 # DW_OP_piece .uleb128 0x4 .byte 0x0 # end of children of DIE 0x2e7 I believe this is correct and identical to example in Example Location Expression of dwarf3 standard. But I get the following error: (gdb) p a Asked for position 0 of stack, stack only has 0 elements on it. -- Summary: DW_OP_piece used to specify underined part of location is ignored Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned at sourceware dot org ReportedBy: hubicka at gcc dot gnu dot org CC: gdb-prs at sourceware dot org GCC host triplet: x86_64-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=9977 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next reply other threads:[~2009-03-21 22:54 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-21 22:54 hubicka at gcc dot gnu dot org [this message] 2009-03-22 1:03 ` [Bug gdb/9977] " tromey at redhat dot com 2010-05-16 17:29 ` tromey at redhat dot com 2010-05-21 21:44 ` tromey at redhat dot com 2010-06-11 15:37 ` tromey at redhat dot com
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=20090321225408.9977.hubicka@gcc.gnu.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: linkBe 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).