Lines Matching refs:gdb
14 import gdb
25 raise gdb.GdbError("Must be struct list_head not {}"
47 raise gdb.GdbError('argument must be of type (struct list_head [*])')
50 gdb.write("Starting with: {}\n".format(c))
51 except gdb.MemoryError:
52 gdb.write('head is not accessible\n')
59 gdb.write('prev.next != current: '
68 except gdb.MemoryError:
69 gdb.write('prev is not accessible: '
77 gdb.write('next.prev != current: '
86 except gdb.MemoryError:
87 gdb.write('next is not accessible: '
96 gdb.write("list is consistent: {} node(s)\n".format(nb))
100 class LxListChk(gdb.Command):
104 super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA,
105 gdb.COMPLETE_EXPRESSION)
108 argv = gdb.string_to_argv(arg)
110 raise gdb.GdbError("lx-list-check takes one argument")
111 list_check(gdb.parse_and_eval(argv[0]))