scripts/gdb: enable completion for lx-list-check parameter
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Cc: Thiébaud Weksteen <thiebaud@weksteen.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
433296b32b
commit
3328bc9ee4
|
@ -80,7 +80,8 @@ class LxListChk(gdb.Command):
|
||||||
"""Verify a list consistency"""
|
"""Verify a list consistency"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA)
|
super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA,
|
||||||
|
gdb.COMPLETE_EXPRESSION)
|
||||||
|
|
||||||
def invoke(self, arg, from_tty):
|
def invoke(self, arg, from_tty):
|
||||||
argv = gdb.string_to_argv(arg)
|
argv = gdb.string_to_argv(arg)
|
||||||
|
|
Loading…
Reference in New Issue