From: Jan Kiszka Date: Tue, 30 Jun 2015 21:58:13 +0000 (-0700) Subject: scripts/gdb: enable completion for lx-list-check parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git scripts/gdb: enable completion for lx-list-check parameter Signed-off-by: Jan Kiszka Cc: ThiƩbaud Weksteen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/gdb/linux/lists.py b/scripts/gdb/linux/lists.py index 71fba6afcb55..3a3775bc162b 100644 --- a/scripts/gdb/linux/lists.py +++ b/scripts/gdb/linux/lists.py @@ -80,7 +80,8 @@ class LxListChk(gdb.Command): """Verify a list consistency""" 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): argv = gdb.string_to_argv(arg)