Lines Matching refs:gdb
14 import gdb
26 raise gdb.GdbError('argument must be of type (struct list_head [*])')
29 gdb.write("Starting with: {}\n".format(c))
30 except gdb.MemoryError:
31 gdb.write('head is not accessible\n')
38 gdb.write('prev.next != current: '
47 except gdb.MemoryError:
48 gdb.write('prev is not accessible: '
56 gdb.write('next.prev != current: '
65 except gdb.MemoryError:
66 gdb.write('next is not accessible: '
75 gdb.write("list is consistent: {} node(s)\n".format(nb))
79 class LxListChk(gdb.Command):
83 super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA,
84 gdb.COMPLETE_EXPRESSION)
87 argv = gdb.string_to_argv(arg)
89 raise gdb.GdbError("lx-list-check takes one argument")
90 list_check(gdb.parse_and_eval(argv[0]))