[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54CB640B.4030707@suse.cz>
Date: Fri, 30 Jan 2015 11:59:23 +0100
From: Michal Marek <mmarek@...e.cz>
To: Jan Kiszka <jan.kiszka@...mens.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
CC: Thomas Gleixner <tglx@...utronix.de>,
Jason Wessel <jason.wessel@...driver.com>,
kgdb-bugreport@...ts.sourceforge.net,
Andi Kleen <andi@...stfloor.org>,
Ben Widawsky <ben@...dawsk.net>, Borislav Petkov <bp@...e.de>,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH v12 01/28] scripts/gdb: Add infrastructure
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 <objfile>-gdb.py when
> opening <objfile>. 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 <mmarek@...e.cz>
> CC: linux-kbuild@...r.kernel.org
> Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
> ---
> 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 <mmarek@...e.cz>
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists