From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5aRgNolbMmFPFQAAWB0awg (envelope-from ) for ; Fri, 03 Sep 2021 13:29:45 -0400 Received: by simark.ca (Postfix, from userid 112) id CBC0D1EE22; Fri, 3 Sep 2021 13:29:45 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 331921EDF5 for ; Fri, 3 Sep 2021 13:29:45 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B14613847800 for ; Fri, 3 Sep 2021 17:29:44 +0000 (GMT) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id 1DD58384B13A for ; Fri, 3 Sep 2021 17:29:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1DD58384B13A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-io1-xd33.google.com with SMTP id m11so7653164ioo.6 for ; Fri, 03 Sep 2021 10:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=SooGlvvijAH9sDAAodrRBfgd6UIDvPTIS3wPwj35v6c=; b=hPxfLdIbkBDzlxhVE+8Gj4W7ZUs+p75QUKW5U4OHotq4Akyu8B02Y6L5h7Sap/cuAG UzbTm3u73pQ8WJsePHT3F3x43Ik4IoM1Ek5Ef0BqVpkN+Sgd2tpWwBqwLj88Aj9X1bUb rJnoZIAYX9KQZquA3wqPyOtM4t7A2dDPMg/0VxSFBZjpZiq7af/krSmOvJTUpdESVxBR 3tTYjlungBD+TFTIy6bB94dkjMX2a+p/lKPCuXF4d7tXvSbCyRGlpikMOcjFCJm4o85P xKqulbTvw3il5l4wUO5rpg0Lv3n1QLRkaSXU4YlKwq6qbOAZnjuUTEzX7itvCKU0ZXaA y+3g== 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; bh=SooGlvvijAH9sDAAodrRBfgd6UIDvPTIS3wPwj35v6c=; b=NmwUu5lPwrLTZgU6JD6uFuxFP69IyyJthTSyQBabfho4GZQeOPtV/x1Xuu2c6YnRjZ xRkqyobIEXzH4647fVB6SpdFvCuZL/dbQHB1qrSm58FiKeY9lzg2U/gmNQxdSn1R4dBL 5E32AdcxgcQc3+p3sRkCPYFtXQJfB7Y9wg/JB4qV4jelJFC3XjOLNO9vpKJmpxUZHAN+ 7NhoTK9gtyTPSGq0H4NG0A0zIN/9KczbfMrvU0ia8OKMHzr2KPCcAB5uNUZyGSPJJ8My mzCWZ+P/dM17vYbjowvQwM+5bbcfbs24C1OYc6H9QoZldFy940ciPDZ+BYDZ5FniccJC jeDQ== X-Gm-Message-State: AOAM532n4WL4iQtvWmKJznQrbhnjfqCsaEX7ZelnZXr2+Pv0Jp0yWljV 1NoPJiJvXHWc1pYp8SUNt2GG4Q== X-Google-Smtp-Source: ABdhPJweuJjDKfEyXN185ui/Pxsn/NJXliAmJa9XTfFywwB2ArC6E1O+lJsukHN6qFExJZ3Tf/2E8w== X-Received: by 2002:a6b:2b43:: with SMTP id r64mr29825ior.187.1630690173556; Fri, 03 Sep 2021 10:29:33 -0700 (PDT) Received: from murgatroyd (97-122-72-212.hlrn.qwest.net. [97.122.72.212]) by smtp.gmail.com with ESMTPSA id s18sm3408120iov.53.2021.09.03.10.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 10:29:33 -0700 (PDT) From: Tom Tromey To: Simon Marchi Subject: Re: [PATCH] Use CORE_ADDR as return type from x86_dr_low_get_addr References: <20210903163219.2590419-1-tromey@adacore.com> <87mtotli5k.fsf@tromey.com> <875yvhlhkv.fsf@tromey.com> <6ca2366b-f033-4dcd-c1e1-13a86c6d2205@polymtl.ca> X-Attribution: Tom Date: Fri, 03 Sep 2021 11:29:32 -0600 In-Reply-To: <6ca2366b-f033-4dcd-c1e1-13a86c6d2205@polymtl.ca> (Simon Marchi's message of "Fri, 3 Sep 2021 13:17:48 -0400") Message-ID: <871r65lg8z.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: gdb-patches@sourceware.org, Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Simon> This is in windows-nat.c, where host == target, so I think uintptr_t is Simon> somewhat correct given the uses cases we want to support (GDB 32 Simon> debugging inferior 32, GDB 64 debugging inferior 32 and GDB 64 debugging Simon> inferior 64). I'll drop it, but if 32-bit gdb debugging 64-bit executables ever works, then it will have to change at that time. Tom