Lines Matching refs:gdb
1 Debugging kernel and modules via gdb
6 using gdb. Gdb comes with a powerful scripting interface for python. The
10 be transferred to the other gdb stubs as well.
16 o gdb 7.2+ (recommended: 7.4+) with python support enabled (typically true
39 o Enable the gdb stub of QEMU/KVM, either
47 o Start gdb: gdb vmlinux
49 Note: Some distros may restrict auto-loading of gdb scripts to known safe
50 directories. In case gdb reports to refuse loading vmlinux-gdb.py, add
54 to ~/.gdbinit. See gdb help for more details.
57 (gdb) target remote :1234
60 Examples of using the Linux-provided gdb helpers
64 (gdb) lx-symbols
76 (gdb) b btrfs_init_sysfs
82 (gdb) c
95 (gdb) lx-dmesg
106 (gdb) p $lx_current().pid
108 (gdb) p $lx_current().comm
112 (gdb) p $lx_per_cpu("runqueues").nr_running
114 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
118 (gdb) set $next = $lx_per_cpu("hrtimer_bases").clock_base[0].active.next
119 (gdb) p *$container_of($next, "struct hrtimer", "node")
149 (gdb) apropos lx