diff options
| author | Kieran Bingham <[email protected]> | 2016-05-23 23:24:40 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-24 00:04:14 +0000 |
| commit | f197d75fcad125f41cc6e2fdf1b3ea733db995f1 (patch) | |
| tree | d3d667d60a24dc5e9caeeb036bfb2781f53f9b56 /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/gdb: Adjust module reference counter reported by lx-lsmod (diff) | |
| download | kernel-f197d75fcad125f41cc6e2fdf1b3ea733db995f1.tar.gz kernel-f197d75fcad125f41cc6e2fdf1b3ea733db995f1.zip | |
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 <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Cc: Michal Marek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
| -rw-r--r-- | scripts/gdb/vmlinux-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py index d5943eca19cd..6e0b0afd888a 100644 --- a/scripts/gdb/vmlinux-gdb.py +++ b/scripts/gdb/vmlinux-gdb.py @@ -30,3 +30,4 @@ else: import linux.cpus import linux.lists import linux.proc + import linux.constants |
