From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20643 invoked by alias); 12 Sep 2014 23:43:14 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 20569 invoked by uid 48); 12 Sep 2014 23:43:13 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/17388] New: Allow DW_FORM_GNU_addr_index in Fission skeleton CUs Date: Fri, 12 Sep 2014 23:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00549.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17388 Bug ID: 17388 Summary: Allow DW_FORM_GNU_addr_index in Fission skeleton CUs Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: dje at google dot com gdb currently flags an error for DW_FORM_GNU_addr_index appearing in Fission skeleton CUs. There's no need for this restriction. 2014-09-12 Doug Evans * dwarf2read.c (read_attribute_value): Allow DW_FORM_GNU_addr_index in Fission skeleton CUs. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index be32309..430a945 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -16077,14 +16077,6 @@ read_attribute_value (const struct die_reader_specs *reader, info_ptr = read_attribute_value (reader, attr, form, info_ptr); break; case DW_FORM_GNU_addr_index: - if (reader->dwo_file == NULL) - { - /* For now flag a hard error. - Later we can turn this into a complaint. */ - error (_("Dwarf Error: %s found in non-DWO CU [in module %s]"), - dwarf_form_name (form), - bfd_get_filename (abfd)); - } DW_ADDR (attr) = read_addr_index_from_leb128 (cu, info_ptr, &bytes_read); info_ptr += bytes_read; break; -- You are receiving this mail because: You are on the CC list for the bug.