From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kWSpBIQsbWJ0eAMAWB0awg (envelope-from ) for ; Sat, 30 Apr 2022 08:33:08 -0400 Received: by simark.ca (Postfix, from userid 112) id 073301E058; Sat, 30 Apr 2022 08:33:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 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 5DEE51E01D for ; Sat, 30 Apr 2022 08:33:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B65BB3857340 for ; Sat, 30 Apr 2022 12:33:06 +0000 (GMT) Received: from nx215.node01.secure-mailgate.com (nx215.node01.secure-mailgate.com [89.22.108.215]) by sourceware.org (Postfix) with ESMTPS id BD39D385800E for ; Sat, 30 Apr 2022 12:32:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BD39D385800E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=trande.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=trande.de Received: from host202.checkdomain.de ([185.137.168.148]) by node01.secure-mailgate.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1nkmHL-009cSH-RW; Sat, 30 Apr 2022 14:32:53 +0200 X-SecureMailgate-Identity: zied.guermazi@trande.de;host202.checkdomain.de Received: from [192.168.178.48] (dynamic-077-180-176-167.77.180.pool.telefonica.de [77.180.176.167]) (Authenticated sender: zied.guermazi@trande.de) by host202.checkdomain.de (Postfix) with ESMTPSA id 57BD2280D0E; Sat, 30 Apr 2022 14:32:51 +0200 (CEST) X-SecureMailgate-Identity: zied.guermazi@trande.de;host202.checkdomain.de Message-ID: <47159933-7e6a-ab66-b0b8-1b184a469e6c@trande.de> Date: Sat, 30 Apr 2022 14:32:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 1/1] get page size using sysconf (_SC_PAGESIZE) instead of PAGE_SIZE Content-Language: en-US To: Andreas Schwab References: <20220430121623.42196-1-zied.guermazi@trande.de> <20220430121623.42196-2-zied.guermazi@trande.de> <87ee1e92kp.fsf@igel.home> From: Zied Guermazi In-Reply-To: <87ee1e92kp.fsf@igel.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PPP-Message-ID: <20220430123251.303069.79709@host202.checkdomain.de> X-PPP-Vhost: trande.de X-Originating-IP: 185.137.168.148 X-SecureMailgate-Domain: host202.checkdomain.de X-SecureMailgate-Username: 185.137.168.148 Authentication-Results: secure-mailgate.com; auth=pass smtp.auth=185.137.168.148@host202.checkdomain.de X-SecureMailgate-Outgoing-Class: ham X-SecureMailgate-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zRfK4njRWCJG0FcgrR1735gTU+HQyT3+eUREASlfTkEEOL d9Nbn7nCQkobLeclhYNZAR0daKe0sXe9anT/FMmYABKVZ7IiUWLC9CTkmKaS+0xzSYhxrsV1WO3E /8N1YV116RgnrpWQC5Q9lQL6QHBHfjg3+crJczMBt8ibkEc7tXWS4+FHdKaJn8ZDtHHlms9QQhQ3 cXtTqZg6zYv+9efsHqfG6e5zRUbrrIGxoxdOpfaN4MX9+v06l9EhI2Nxc4SDwIE7VKe+bqpcdCns 72R1X7IVSEzwidBMo9z0hx2BSScy7aMZ92imw0+r8tQAxXvEOQj5JarvIdoadFbhK/9Znbjpl1HX rEauXQGULhVNx8dVab7KNQeuiZZyHZP9eA3bDtsN2upIGSyKCtnkGaE86jDOCpJyjVjbMrDdHDSf q81eJ7faLb7WdUx1R8TQ+Bg2rRldRnnnohbUS3YD3JmesMIeRdVq+f+BPnF5XMAjF+PZv5F7RzGS 3oVctjiZbdo93SsS4aMXJmiJ2G0eb5ahcly8wKwYu+NTojfLBeknH7M5VcI9Z9iQLx1EhkIGnvfL my3uPSE9vyN9HoGBpQQMs9mOAuVGeNoxAGUS1QpH0KIcRmoNU2oljXXErZz3MdU5SJeoVHj5h7lL 06fEAVxInaUXiPoTcHWs9ZbziSvcjIpIGStmhh7uzBZKdQHAEVNF208o2Hs4RT7xY6ACUPfxBMaq tAU7rzJdhGI3XkLMRWsun6ha2rDNJv3uhhozmYMWFaGy0tumo312An66YDFkDp423b7/3w03PjyZ +j+aeStKkPOMS2N9fz44eXhzJTqJLfUBjKvYNEwMew06MNBoeAKLXTRPZhdTC40bMLgRpswl8Jx8 p31dRsCS/iu8D3kz2j57x+CaK+pwKzeb49xyOnYQpsOL3D4WKYPb9hiQqlhd7+Z3ohEuqbhw2IGi K9DGKMb0Xvzghgn3eb8t4DEpWEyry8T920W7et9Z70HPbFtIDpT88TEiAnXgl0Wd2i3wGXCTF8l8 VxuaGVhOtiHBOFURuwEEIidjTIMT11uj7sKj4aWaZtO0NVSwNjvoLl6+9+EAydx4ZblaPQ0vNSRx RYmI02iXn3aYKeX/s8Q/tA== X-Report-Abuse-To: spam@node04.secure-mailgate.com 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 Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" hi Andreas, this is part of the preparation for offering the execution record and replay functionality on ARM processors using CoreSight ETM traces. Markus Metzger recommended in his review brining this change in a separated patch. Kind Regards Zied Guermazi On 30.04.22 14:29, Andreas Schwab wrote: > On Apr 30 2022, Zied Guermazi wrote: > >> PAGE_SIZE is not defined in all build configurations, e.g cross compiling >> for aarch64 GNU/Linux machine. > Why is that file compiled in the first place? The only configuration > using it is native x86-linux. >