]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: provide linux constants
authorKieran Bingham <kieran.bingham@linaro.org>
Mon, 23 May 2016 23:24:40 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit9d13f12a3b7fe5d26ba4dd748df02ce06cf3dd8f
treed3d667d60a24dc5e9caeeb036bfb2781f53f9b56
parent8492f6c0087a512c076a953e263b43915a5aea07
scripts/gdb: provide linux constants

Some macro's and defines are needed when parsing memory, and without
compiling the kernel as -g3 they are not available in the debug-symbols.

We use the pre-processor here to extract constants to a dedicated module
for the linux debugger extensions

Top level Kbuild is used to call in and generate the constants file,
while maintaining dependencies on autogenerated files in
include/generated

Link: http://lkml.kernel.org/r/bc3df9c25f57ea72177c066a51a446fc19e2c27f.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Kbuild
scripts/gdb/linux/Makefile
scripts/gdb/linux/constants.py.in [new file with mode: 0644]
scripts/gdb/vmlinux-gdb.py