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 <mma...@suse.cz> > CC: linux-kbu...@vger.kernel.org > Signed-off-by: Jan Kiszka <jan.kis...@siemens.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 <mma...@suse.cz> Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/