[PATCH 2/2] scripts/gdb: fixup some pep8 errors in proc.py
Peter Griffin
peter.griffin at linaro.org
Tue Oct 18 08:07:29 PDT 2016
proc.py:22:1: E302 expected 2 blank lines, found 1
proc.py:200:1: E302 expected 2 blank lines, found 1
Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
---
scripts/gdb/linux/proc.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/gdb/linux/proc.py b/scripts/gdb/linux/proc.py
index f20fcfa..2d6f74e 100644
--- a/scripts/gdb/linux/proc.py
+++ b/scripts/gdb/linux/proc.py
@@ -18,6 +18,7 @@ from linux import tasks
from linux import lists
from struct import *
+
class LxCmdLine(gdb.Command):
""" Report the Linux Commandline used in the current kernel.
Equivalent to cat /proc/cmdline on a running target"""
@@ -196,6 +197,7 @@ values of that process namespace"""
LxMounts()
+
class LxFdtDump(gdb.Command):
"""Output Flattened Device Tree header and dump FDT blob to a file
Equivalent to 'cat /proc/fdt > fdtdump.dtb' on a running target"""
--
1.9.1
More information about the linux-arm-kernel
mailing list