This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/859: dwarf2 CIE instruction missing operands
- From: malachi000 at hotmail dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 2 Dec 2002 22:42:56 -0000
- Subject: gdb/859: dwarf2 CIE instruction missing operands
- Reply-to: malachi000 at hotmail dot com
>Number: 859
>Category: gdb
>Synopsis: dwarf2 CIE instruction missing operands
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 02 14:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: malachi000@hotmail.com
>Release: GDB 5.2
>Organization:
>Environment:
Solaris 2.5/2.8
>Description:
Per the Dwarf2 standard, the CIE instructions DW_CFA_undefined and DW_CFA_same_value each are supposed to take a uleb128 register number as an argument. In dwarf2cfi.c:execute_cfa_program, they are not read and the insn_ptr is not advanced properly, corrupting the rest of the reads.
It does not appear to be fixed in the 5.3 branch.
>How-To-Repeat:
.
>Fix:
In execute_cfa_program, insert read_uleb128 (objfile->obfd, &insn_ptr) for cases DW_CFA_undefined and DW_CFA_same_value.
>Release-Note:
>Audit-Trail:
>Unformatted: