From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761133AbbA3K7a (ORCPT ); Fri, 30 Jan 2015 05:59:30 -0500 Received: from cantor2.suse.de ([195.135.220.15]:53564 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759913AbbA3K72 (ORCPT ); Fri, 30 Jan 2015 05:59:28 -0500 Message-ID: <54CB640B.4030707@suse.cz> Date: Fri, 30 Jan 2015 11:59:23 +0100 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Jan Kiszka , Andrew Morton , linux-kernel@vger.kernel.org CC: Thomas Gleixner , Jason Wessel , kgdb-bugreport@lists.sourceforge.net, Andi Kleen , Ben Widawsky , Borislav Petkov , linux-kbuild@vger.kernel.org Subject: Re: [PATCH v12 01/28] scripts/gdb: Add infrastructure References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-01-30 08:24, Jan Kiszka wrote: > This provides the basic infrastructure to load kernel-specific python > helper scripts when debugging the kernel in gdb. > > The loading mechanism is based on gdb loading for -gdb.py when > opening . Therefore, this places a corresponding link to the > main helper script into the output directory that contains vmlinux. > > The main scripts will pull in submodules containing Linux specific gdb > commands and functions. To avoid polluting the source directory with > compiled python modules, we link to them from the object directory. > > Due to gdb.parse_and_eval and string redirection for gdb.execute, we > depend on gdb >= 7.2. > > This feature is enabled via CONFIG_GDB_SCRIPTS. > > CC: Michal Marek > CC: linux-kbuild@vger.kernel.org > Signed-off-by: Jan Kiszka > --- > Makefile | 5 ++++- > lib/Kconfig.debug | 11 +++++++++++ > scripts/Makefile | 1 + > scripts/gdb/Makefile | 1 + > scripts/gdb/linux/Makefile | 11 +++++++++++ For the kbuild stuff: Acked-by: Michal Marek Michal