[PATCH 3/7] scripts/gdb: Enable completion for lx-list-check parameter

From: Jan Kiszka
Date: Fri May 22 2015 - 01:58:31 EST


Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
---
scripts/gdb/linux/lists.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/gdb/linux/lists.py b/scripts/gdb/linux/lists.py
index 71fba6a..3a3775b 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)
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/