From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15504 invoked by alias); 21 Jun 2010 16:53:13 -0000 Received: (qmail 15484 invoked by uid 22791); 21 Jun 2010 16:53:10 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_SOFTFAIL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate7.de.ibm.com (HELO mtagate7.de.ibm.com) (195.212.17.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Jun 2010 16:53:06 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate7.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5LGr36o017690 for ; Mon, 21 Jun 2010 16:53:03 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5LGr3Fl1556648 for ; Mon, 21 Jun 2010 18:53:03 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5LGr2O3004634 for ; Mon, 21 Jun 2010 18:53:02 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o5LGr1aJ004624; Mon, 21 Jun 2010 18:53:01 +0200 Message-Id: <201006211653.o5LGr1aJ004624@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 21 Jun 2010 18:53:01 +0200 Subject: Re: [patch, rfc, v2] MIPS dwarf2 location lists To: gdb-patches@sourceware.org Date: Mon, 21 Jun 2010 16:53:00 -0000 From: "Ulrich Weigand" Cc: dan@codesourcery.com (Daniel Jacobowitz), brobecker@adacore.com (Joel Brobecker) In-Reply-To: <201006111347.o5BDluRB029929@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Jun 11, 2010 03:47:56 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00456.txt.bz2 > * dwarf2loc.c (find_location_expression): Add relocation offset > to base-address-selection entry base addresses. Read addresses > (and offsets) as signed/unsigned integers, depending on the > BFD's sign_extend_vma flag. Do not call dwarf2_read_address. > (loclist_describe_location): Likewise. > (disassemble_dwarf_expression): Read DW_OP_addr operand as > unsigned integer. Do not call dwarf2_read_address. > (locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address. I've now checked this in, but omitted this part: > * dwarf2expr.c (dwarf2_read_address): Make static. > * dwarf2expr.h (dwarf2_read_address): Remove prototype. because we now do have another user of dwarf2_read_address (in the new dwarf->ax translator). Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com