[PATCH 2/2] scripts/gdb: fixup some pep8 errors in proc.py
From: Kieran Bingham <hidden>
Date: 2016-10-18 15:28:12
Also in:
linux-devicetree, lkml
From: Kieran Bingham <hidden>
Date: 2016-10-18 15:28:12
Also in:
linux-devicetree, lkml
Hi Pete, On 18/10/16 16:07, Peter Griffin wrote:
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@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 * +
This was added by patch 1, and can be squashed there.
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() +
Likewise...
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"""-- Regards Kieran Bingham