This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9978] New: DW_OP_bit_piece does not allow DW_OP_reg
- From: "hubicka at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 21 Mar 2009 22:56:27 -0000
- Subject: [Bug gdb/9978] New: DW_OP_bit_piece does not allow DW_OP_reg
- Reply-to: sourceware-bugzilla at sourceware dot org
DW_op_reg in DW_OP_bit_piece is refused:
DWARF-2 expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
I believe it is wrong, since DW_OP_bit_piece has same restrictions as
DW_OP_piece. I would like to use DW_OP_bit_piece in GCC to output SRAed
structures, so it would be cool to fix this ;)
--
Summary: DW_OP_bit_piece does not allow DW_OP_reg
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=9978
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.