Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933472AbbGUUsZ (ORCPT ); Tue, 21 Jul 2015 16:48:25 -0400 Received: from mout.web.de ([212.227.17.11]:63887 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755349AbbGUUsS (ORCPT ); Tue, 21 Jul 2015 16:48:18 -0400 Subject: Re: scripts/gdb: multi arch lx_current To: =?UTF-8?Q?Thi=c3=a9baud_Weksteen?= References: <55653A0F.2060504@weksteen.fr> Cc: linux-kernel@vger.kernel.org From: Jan Kiszka Message-ID: <55AEB00E.8000200@web.de> Date: Tue, 21 Jul 2015 22:48:14 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <55653A0F.2060504@weksteen.fr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cO1QKdjWQ3CkajvSlXcBAnJFCclhNU6Ew" X-Provags-ID: V03:K0:NAd55lczXY2t0lmka9+AoekLM6WzR3AD+wD0sCNeb/TsiGPRhZ/ /UHIr5PcrNyQfQLjTc2w9R4AhkFr0vbTaiotIYphUdWH0xpsTrMw68Ayl2Nn/WObT6OlKrH 6Z+L8V+WcAJImnwqK/1LqdXPAjMD+FwspoFTUQ7/lXt5DL4mYHPqdKJTCV6kkGG2/1boQTK APL0wYxvLSrhbv5es7g9w== X-UI-Out-Filterresults: notjunk:1;V01:K0:kPHAaWInrhg=:PISJWCgziWV/Oa2OLndlAo EljFNLXVDABoT85y+dVuiNpcyZCIZ4L4MGXahZKvRBbdj17ZpUHQ21piBkcVxY9aUFH9xldmb WrsK5BOi7RLa6LGHE2uCMRf3CesrZ0J9T4mQVzx3O/HB98+epjR9cD81etLJLfZC9baJzDCZQ TEYfAz0Ksp0G56UIiAq0zc8uyv4nuPB+iLNHHbCRpbEeiBDerawvbub5vQy4Tl/36F5dXFZvk ikb8UdN1LqMYiRYte+GdMxxNIaODQpHGE39yZ7euOvl3u+B7w5swvM5iWyqS+b//aF71c76cd m7Ff/s3b1ub3HBYkKx0wgfZ/Mq0d3pAkf2Tf4Iax3gOBaWsPJnRroAP8UqMr9zmnKZfsi6Ujh TvkPfhBf80s0+vIFCtE+zPIAp5gGqojmWV9LC0hFTkqfg0haOKDKb/uFpOEt3EmUHEAwdOuH0 zoLNIAmRdyW+2mvuHRPI0UJtcaSXZf4JMnhVkWjaBfZSFpcddvO5o3PvCbAzU3oHdfLQvgF2H MbuJGRzp03Wu+iktQC2BonD2RMo+LizxY4C/Qt+dQk/NY4SKI8iI3cJOokgqN4rK4An0EZzpO nu/hfOgP74rBHpgU4CU3K39VEu5Gagf0nT1yMP9CnzawXPXHLArH6O+gKX4002URdcXEPuzGS lwggjGyg4iyS6XMhfXrwm4u6BQwXtVDgtFBWd9KOmwD6vXw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1612 Lines: 51 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cO1QKdjWQ3CkajvSlXcBAnJFCclhNU6Ew Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Thiebaud, sorry, just realized that this fell through the cracks after vacation back then. On 2015-05-27 05:29, Thi=C3=A9baud Weksteen wrote: > Hi Jan, >=20 > I've been working on lx_current and cpus.py to support other architectu= res=20 > than just x86. From my understanding, current/get_current are not avail= able=20 > with the default debug option (-g). We could either modify that level s= o that=20 > the inline functions/macros are available or reimplement part of logic = to=20 > retrieve the current task (sp masking, etc). >=20 > Are there any other options to retrieve the current task? What do you=20 > recommend? I would prefer the reimplementation like we do elsewhere already. Debugging should remain minimal invasive to the kernel. Jan --cO1QKdjWQ3CkajvSlXcBAnJFCclhNU6Ew Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWusA4ACgkQitSsb3rl5xT/pACgjjlzXAXbn9FZB1nS29Vj2mvi CJQAnAvXrdTw5k6SakFG148HPQEZZzWX =o3Lr -----END PGP SIGNATURE----- --cO1QKdjWQ3CkajvSlXcBAnJFCclhNU6Ew-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/