From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26544 invoked by alias); 12 Jun 2017 13:28:19 -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 26514 invoked by uid 89); 12 Jun 2017 13:28:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=preparations, H*r:sk:static. X-HELO: mail-it0-f47.google.com Received: from mail-it0-f47.google.com (HELO mail-it0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Jun 2017 13:28:17 +0000 Received: by mail-it0-f47.google.com with SMTP id m47so20234726iti.0 for ; Mon, 12 Jun 2017 06:28:21 -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=cdAQIBQyLf0qIc1YeQz7b1jBXm6r20HEi6I+3h3QaFA=; b=cGkZ5oCvlIn/bgaOXxHUYTo+4fUzKxXQp6rd5BJUJKQk3rvy1YUK3nYwjZV1xtWMsB SUgRPBqwb0NAPyr7us2PqIJyZgfJMi6n6YeMY3lXzDVUTl3YO2V/PhkaDlKIHzeasMUC /hJ3ZwtLJgQ+dAq7QzegbXfaIetTQX/8qfdDCfM58G0pmF9qTH/0z4jX6/CrVbBZ5fMr NPCRf3jj4DVnkqIXWDyJ7TNkuBxAfHSWDlZDbM7CViYOEZHDfN480XbFnIqjxsSfVGxA DohIjb41E2Zw6/uosACRvrCxjJPf4xWcOBSwOwOcZYPjARfaqrUVoCriO6aPfWeofTz3 FSpg== X-Gm-Message-State: AODbwcCNZZlSEA4HPg4btZC1DVAALMTK+GpFPqdB06Si6yd0Fwb6OeDe sFxjGi/i9GOK4748 X-Received: by 10.36.150.133 with SMTP id z127mr12637347itd.104.1497274099846; Mon, 12 Jun 2017 06:28:19 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id 199sm49323itm.14.2017.06.12.06.28.18 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 12 Jun 2017 06:28:19 -0700 (PDT) From: Yao Qi To: Andreas Arnez Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2 14/19] read/write_pieced_value: Improve logic for buffer allocation References: <1494352015-10465-1-git-send-email-arnez@linux.vnet.ibm.com> <1494352015-10465-15-git-send-email-arnez@linux.vnet.ibm.com> Date: Mon, 12 Jun 2017 13:28:00 -0000 In-Reply-To: <1494352015-10465-15-git-send-email-arnez@linux.vnet.ibm.com> (Andreas Arnez's message of "Tue, 9 May 2017 19:46:10 +0200") Message-ID: <864lvl9vym.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-06/txt/msg00308.txt.bz2 Andreas Arnez writes: > gdb/ChangeLog: > > * dwarf2loc.c (read_pieced_value): Move the buffer allocation and > some other preparations to the places where sufficient information > is available. > (write_pieced_value): Likewise. Patch is good to me. --=20 Yao (=E9=BD=90=E5=B0=A7)