From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11672 invoked by alias); 16 Jun 2004 17:07:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11651 invoked from network); 16 Jun 2004 17:07:33 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 16 Jun 2004 17:07:33 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5GH7Xe3016360 for ; Wed, 16 Jun 2004 13:07:33 -0400 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5GH7V029123; Wed, 16 Jun 2004 13:07:32 -0400 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, Michael Coulter , Elena Zannoni Subject: Re: [rfa/dwarf] Handle debug_line extended ops correctly References: <20040616154402.GA25649@nevyn.them.org> From: Jim Blandy Date: Wed, 16 Jun 2004 17:07:00 -0000 In-Reply-To: <20040616154402.GA25649@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-06/txt/msg00381.txt.bz2 Daniel Jacobowitz writes: > This has been hanging around in my tree for a while. The HP-UX ia64 > compiler generates things like this in .debug_line: > Extended opcode 32: UNKNOWN: length 51 > Extended opcode 32: UNKNOWN: length 146 > > 146 is different as a byte and as a uleb128, so we get confused. Of course, > we're going to bail out shortly anyway because we don't accept unknown > extended ops (probably for the best); but we might as well parse the length > right. > > OK? Okay.