summaryrefslogtreecommitdiffstats
path: root/scripts/gdb
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2015-06-30 23:58:13 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-01 04:44:58 +0200
commit3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3 (patch)
treeb2596296974aa778bfd00836e4a9a219ba8eaafe /scripts/gdb
parentscripts/gdb: also allow list_head pointer as lx-list-check paramter (diff)
downloadlinux-3328bc9ee47fbf2e35d146bed0d41cff1c68e8f3.tar.xz
linux-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)