From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbbE0F71 (ORCPT ); Wed, 27 May 2015 01:59:27 -0400 Received: from 9.mo69.mail-out.ovh.net ([46.105.56.78]:46216 "EHLO 9.mo69.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752380AbbE0F70 (ORCPT ); Wed, 27 May 2015 01:59:26 -0400 X-Greylist: delayed 7807 seconds by postgrey-1.27 at vger.kernel.org; Wed, 27 May 2015 01:59:25 EDT Message-ID: <55653A0F.2060504@weksteen.fr> Date: Wed, 27 May 2015 13:29:19 +1000 From: =?UTF-8?B?VGhpw6liYXVkIFdla3N0ZWVu?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jan Kiszka CC: linux-kernel@vger.kernel.org Subject: scripts/gdb: multi arch lx_current Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 4198199279446479384 X-Ovh-Remote: 121.44.82.37 (ppp121-44-82-37.lns20.syd4.internode.on.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekuddrfeduucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekuddrfeduucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jan, I've been working on lx_current and cpus.py to support other architectures than just x86. From my understanding, current/get_current are not available with the default debug option (-g). We could either modify that level so that the inline functions/macros are available or reimplement part of logic to retrieve the current task (sp masking, etc). Are there any other options to retrieve the current task? What do you recommend? Thiebaud