Lines Matching refs:gdb
2 # gdb helper commands and functions for Linux kernel debugging
14 import gdb
24 init_task = gdb.parse_and_eval("init_task").address
45 class LxTaskByPidFunc(gdb.Function):
59 raise gdb.GdbError("No task of PID " + str(pid))
65 class LxPs(gdb.Command):
69 super(LxPs, self).__init__("lx-ps", gdb.COMMAND_DATA)
72 gdb.write("{:>10} {:>12} {:>7}\n".format("TASK", "PID", "COMM"))
74 gdb.write("{} {:^5} {}\n".format(
94 class LxThreadInfoFunc (gdb.Function):
110 class LxThreadInfoByPidFunc (gdb.Function):
124 raise gdb.GdbError("No task of PID " + str(pid))