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@xxxxxxx> > CC: linux-kbuild@xxxxxxxxxxxxxxx > Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > --- > 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@xxxxxxx> Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html