Lines Matching refs:gdb
3 Debugging kernel and modules via gdb
8 using gdb. Gdb comes with a powerful scripting interface for python. The
12 be transferred to the other gdb stubs as well.
18 - gdb 7.2+ (recommended: 7.4+) with python support enabled (typically true
42 - Enable the gdb stub of QEMU/KVM, either
53 - Start gdb: gdb vmlinux
55 Note: Some distros may restrict auto-loading of gdb scripts to known safe
56 directories. In case gdb reports to refuse loading vmlinux-gdb.py, add::
60 to ~/.gdbinit. See gdb help for more details.
64 (gdb) target remote :1234
67 Examples of using the Linux-provided gdb helpers
72 (gdb) lx-symbols
85 (gdb) b btrfs_init_sysfs
92 (gdb) c
107 (gdb) lx-dmesg
119 (gdb) p $lx_current().pid
121 (gdb) p $lx_current().comm
126 (gdb) p $lx_per_cpu("runqueues").nr_running
128 (gdb) p $lx_per_cpu("runqueues", 2).nr_running
133 (gdb) set $next = $lx_per_cpu("hrtimer_bases").clock_base[0].active.next
134 (gdb) p *$container_of($next, "struct hrtimer", "node")
164 (gdb) apropos lx