From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39443 invoked by alias); 16 May 2017 08:46:38 -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 37540 invoked by uid 89); 16 May 2017 08:44:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-pf0-f174.google.com Received: from mail-pf0-f174.google.com (HELO mail-pf0-f174.google.com) (209.85.192.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 May 2017 08:44:53 +0000 Received: by mail-pf0-f174.google.com with SMTP id e193so76829624pfh.0 for ; Tue, 16 May 2017 01:44:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Yem36z6GGIHE5eu0CYw5Vz6qxz0QGYUSPRm1v8vsKtI=; b=ameGRU0u0uNXd/14I3/SxjZN1sGXhsydEhAHNqyHvvWM7pnep9Jd3yCQc95WbMEAZO C1/7ieJ+aV6G4PEgxhUIOfIGpW5Sp1nlpkLYr49RymSsQJXUNLmqs+fC66ypxceJrx7s BgnYE13I+wxbzo5sXRB4rVxravGYxbhe1YK/Ep/uslA49RIsBeSVZXBpKgGW9fpJyzn3 4c7x1h62OwUSdPD0g1h2PUvMeuHbiI10dU/PtTBJIf9Px+g1CLvc76UKbvucetZZFW91 BUQ3DXFRt0cK4twwyMFg5IFKOfcJVumZIfJPTENkK+MhawxpJDxavINH/hSnNBCVkErh TidA== X-Gm-Message-State: AODbwcA0AaqonO1dDyjYsxwFY4hzGIhiVih4aN1aCIKpzcwP6FP/hWn3 FoIaoIkz/9Yynlft X-Received: by 10.84.241.206 with SMTP id t14mr14416544plm.48.1494924294741; Tue, 16 May 2017 01:44:54 -0700 (PDT) Received: from E107787-LIN (gcc114.osuosl.org. [140.211.9.72]) by smtp.gmail.com with ESMTPSA id i67sm25808342pfk.87.2017.05.16.01.44.53 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 16 May 2017 01:44:54 -0700 (PDT) From: Yao Qi To: Andreas Arnez Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 09/19] write_pieced_value: Fix buffer offset for memory pieces References: <1494352015-10465-1-git-send-email-arnez@linux.vnet.ibm.com> <1494352015-10465-10-git-send-email-arnez@linux.vnet.ibm.com> Date: Tue, 16 May 2017 08:46:00 -0000 In-Reply-To: <1494352015-10465-10-git-send-email-arnez@linux.vnet.ibm.com> (Andreas Arnez's message of "Tue, 9 May 2017 19:46:05 +0200") Message-ID: <86vap19on0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00328.txt.bz2 Andreas Arnez writes: > gdb/ChangeLog: > > * dwarf2loc.c (write_pieced_value): In DWARF_VALUE_MEMORY, > truncate full bytes from dest_offset_bits before using it as an > offset into the buffer. LGTM. --=20 Yao (=E9=BD=90=E5=B0=A7)