summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2015-06-30 14:58:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-30 19:44:58 -0700
commit3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3 (patch)
treeb2596296974aa778bfd00836e4a9a219ba8eaafe /scripts/gdb
parent433296b32b39bd2f8a8717ccb2385b4c8654017d (diff)
downloadlwn-3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3.tar.gz
lwn-3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3.zip
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>
Diffstat (limited to 'scripts/gdb')
-rw-r--r--scripts/gdb/linux/lists.py3
1 files changed, 2 insertions, 1 deletions
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)