Lines Matching refs:gdb
14 import gdb
31 gdb.write("list_for_each: Uninitialized list '{}' treated as empty\n"
69 raise gdb.GdbError('argument must be of type (struct list_head [*])')
72 gdb.write("Starting with: {}\n".format(c))
73 except gdb.MemoryError:
74 gdb.write('head is not accessible\n')
81 gdb.write('prev.next != current: '
90 except gdb.MemoryError:
91 gdb.write('prev is not accessible: '
99 gdb.write('next.prev != current: '
108 except gdb.MemoryError:
109 gdb.write('next is not accessible: '
118 gdb.write("list is consistent: {} node(s)\n".format(nb))
122 class LxListChk(gdb.Command):
126 super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA,
127 gdb.COMPLETE_EXPRESSION)
130 argv = gdb.string_to_argv(arg)
132 raise gdb.GdbError("lx-list-check takes one argument")
133 list_check(gdb.parse_and_eval(argv[0]))