scripts/gdb: enable completion for lx-list-check parameter
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 30 Jun 2015 21:58:13 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2015 02:44:58 +0000 (19:44 -0700)
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>
scripts/gdb/linux/lists.py

index 71fba6a..3a3775b 100644 (file)
@@ -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)