From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id sKOzL+zom2EdCQAAWB0awg (envelope-from ) for ; Mon, 22 Nov 2021 14:01:00 -0500 Received: by simark.ca (Postfix, from userid 112) id C09B81F0CE; Mon, 22 Nov 2021 14:01:00 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_DYNAMIC, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C7E691ECEB for ; Mon, 22 Nov 2021 14:00:59 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6C9B8385802A for ; Mon, 22 Nov 2021 19:00:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C9B8385802A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637607659; bh=8GnkuZFUx1Q+L5v8QQogBUxgXAOD569Y+roiOZdxbWU=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=x/AEAxDSChulVg/VGByf6F5uVKzEOUQhYY+qSxUDjcKhHZRnf0g1zW7gBbVBSNzFB JTb8rUt3FFQld9wKmTeJz+/C6pgWeDaTj6zGUD+zc6cK1Z4kY4FVo8jomDerpw262p FkbCfiLa8M/Otb2FTZnzvdZ/orusgROFcr83b0/k= Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by sourceware.org (Postfix) with ESMTPS id 73FF93858412 for ; Mon, 22 Nov 2021 18:58:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 73FF93858412 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 1E73E390AE2; Mon, 22 Nov 2021 13:58:42 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id NcrIu8qyCgVK; Mon, 22 Nov 2021 13:58:41 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id C2BFC390AE1; Mon, 22 Nov 2021 13:58:41 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com C2BFC390AE1 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0VF-jJ5mKhqG; Mon, 22 Nov 2021 13:58:41 -0500 (EST) Received: from [172.16.0.95] (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by mail.efficios.com (Postfix) with ESMTPSA id AD874390ADF; Mon, 22 Nov 2021 13:58:41 -0500 (EST) Subject: Re: [PATCH 3/3] gdb: pass more const target_waitstatus by reference To: Andrew Burgess References: <20211122162731.3316783-1-simon.marchi@efficios.com> <20211122162731.3316783-3-simon.marchi@efficios.com> <20211122185636.GJ2514@redhat.com> Message-ID: <4b519589-c396-dc2b-2101-25834530c5fd@efficios.com> Date: Mon, 22 Nov 2021 13:58:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211122185636.GJ2514@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: tl Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2021-11-22 1:56 p.m., Andrew Burgess wrote: > * Simon Marchi via Gdb-patches [2021-11-22 11:27:31 -0500]: > >> While working on target_waitstatus changes, I noticed a few places where >> const target_waitstatus objects could be passed by reference instead of >> by pointers. And in some cases, places where a target_waitstatus could >> be passed as const, but was not. Convert them as much as possible. > > LGTM. > > Thanks, > Andrew Thanks, pushed all three patches. Simon