~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/gdb/vmlinux-gdb.py

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/gdb/vmlinux-gdb.py (Version linux-6.12-rc7) and /scripts/gdb/vmlinux-gdb.py (Version linux-5.0.21)


  1 #                                                   1 #
  2 # gdb helper commands and functions for Linux       2 # gdb helper commands and functions for Linux kernel debugging
  3 #                                                   3 #
  4 #  loader module                                    4 #  loader module
  5 #                                                   5 #
  6 # Copyright (c) Siemens AG, 2012, 2013              6 # Copyright (c) Siemens AG, 2012, 2013
  7 #                                                   7 #
  8 # Authors:                                          8 # Authors:
  9 #  Jan Kiszka <jan.kiszka@siemens.com>               9 #  Jan Kiszka <jan.kiszka@siemens.com>
 10 #                                                  10 #
 11 # This work is licensed under the terms of the     11 # This work is licensed under the terms of the GNU GPL version 2.
 12 #                                                  12 #
 13                                                    13 
 14 import os                                          14 import os
 15                                                    15 
 16 sys.path.insert(0, os.path.dirname(os.path.abs !!  16 sys.path.insert(0, os.path.dirname(__file__) + "/scripts/gdb")
 17                                                    17 
 18 try:                                               18 try:
 19     gdb.parse_and_eval("0")                        19     gdb.parse_and_eval("0")
 20     gdb.execute("", to_string=True)                20     gdb.execute("", to_string=True)
 21 except:                                            21 except:
 22     gdb.write("NOTE: gdb 7.2 or later required     22     gdb.write("NOTE: gdb 7.2 or later required for Linux helper scripts to "
 23               "work.\n")                           23               "work.\n")
 24 else:                                              24 else:
 25     import linux.constants                     << 
 26     if linux.constants.LX_CONFIG_DEBUG_INFO_RE << 
 27         raise gdb.GdbError("Reduced debug info << 
 28                            "from having comple << 
 29     import linux.utils                             25     import linux.utils
 30     import linux.symbols                           26     import linux.symbols
 31     import linux.modules                           27     import linux.modules
 32     import linux.dmesg                             28     import linux.dmesg
 33     import linux.tasks                             29     import linux.tasks
 34     import linux.config                        << 
 35     import linux.cpus                              30     import linux.cpus
 36     import linux.lists                             31     import linux.lists
 37     import linux.rbtree                        << 
 38     import linux.proc                              32     import linux.proc
 39     import linux.timerlist                     !!  33     import linux.constants
 40     import linux.clk                           << 
 41     import linux.genpd                         << 
 42     import linux.device                        << 
 43     import linux.vfs                           << 
 44     import linux.pgtable                       << 
 45     import linux.radixtree                     << 
 46     import linux.interrupts                    << 
 47     import linux.mm                            << 
 48     import linux.stackdepot                    << 
 49     import linux.page_owner                    << 
 50     import linux.slab                          << 
 51     import linux.vmalloc                       << 
 52     import linux.kasan                         << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php