From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114447 invoked by alias); 12 May 2016 16:27:35 -0000 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 Received: (qmail 114388 invoked by uid 89); 12 May 2016 16:27:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:U*dje X-HELO: mail-vk0-f45.google.com Received: from mail-vk0-f45.google.com (HELO mail-vk0-f45.google.com) (209.85.213.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 12 May 2016 16:27:32 +0000 Received: by mail-vk0-f45.google.com with SMTP id o133so104468919vka.0 for ; Thu, 12 May 2016 09:27:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ysgtd7NWnP8U6wN+8xIcv9sJW41e6hoKudQvA5tkAL4=; b=Ln/UhdAR1arQwd3672y4N3u7p2z1S8dJg6pVsTQCFgjwbi4EQ5r7RtGJbshi7GSH5M PIBSMlvC2gAa1CvwTtJWkssqXFU5qhKT+kHFnQll42LDbWCRINoqpDzwSvH1CJMn58oc 68Q5rWxQs4L30dGpcLEdHLIpg8GzL6U0YXLatJJdypLceYIFQQsnooN4+CViMAtC3C+q LqqELIzC9Xdq7nMgSPXKr9pBioYS5bVUaq9CQBgg8vXQBIsWxYgZCl+DOwExrfB+luf7 Ghdmom8dWkn0GMc+zWvDh9dxWfL+FcaJzRCLWGbAC8o6sDvCAGHLZXD1DDbeZzq8CVtN Bjeg== X-Gm-Message-State: AOPr4FVlnguS2M26EpY/MVlweutGh9XRDBND1hg9tb0ViLc3e38HMC+2ooMZ2rApJTY7+ItWowE+et+wB3es5i56 X-Received: by 10.176.6.135 with SMTP id g7mr5377358uag.100.1463070450567; Thu, 12 May 2016 09:27:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.92.200 with HTTP; Thu, 12 May 2016 09:26:50 -0700 (PDT) In-Reply-To: References: <14dae93406d1e6a96b0531a2ceec@google.com> From: Doug Evans Date: Thu, 12 May 2016 16:27:00 -0000 Message-ID: Subject: Re: [PATCH] [PR symtab/19999] Fix To: Yunlian Jiang Cc: gdb-patches , Sriraman Tallam Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00205.txt.bz2 On Wed, May 11, 2016 at 9:22 AM, Yunlian Jiang wrote: > ping? For reference sake, some people here get violently ill with top-posting. Me, I just go with the flow for each message and don't really care. But heads up. > On Fri, Apr 29, 2016 at 10:16 AM, Doug Evans wrote: >> Hi. >> >> This patch fixes symtab/19999. >> The problem here is that while we don't want to add the DWARF "base address" >> for DWO files (where addresses come from .debug_addr where the base address >> has already been added), we still need to add base_offset for PIE. >> >> Regression tested on amd64-linux. >> >> 2016-04-29 Doug Evans >> >> PR symtab/19999 >> * dwarf2loc.c (dwarf2_find_location_expression): For DWO files still >> add base_offset. >> >> testsuite/ >> * lib/dwarf.exp (build_executable_from_fission_assembler): Pass >> $options when building executable. >> * gdb.dwarf2/fission-loclists-pie.S: New file. >> * gdb.dwarf2/fission-loclists-pie.exp: New file. Committed.