Re: [PATCH] scripts/gdb: Fix invocation when CONFIG_COMMON_CLK is not set

2019-05-23 Thread Stephen Boyd
Quoting Leonard Crestez (2019-05-23 16:09:18) > On 5/24/2019 1:46 AM, Stephen Boyd wrote: > > Quoting Fabiano Rosas (2019-05-23 12:53:11) > >> diff --git a/scripts/gdb/linux/constants.py.in > >> b/scripts/gdb/linux/constants.py.in > >> index 1d73083da6cb..2efbec6b6b8d 100644 > >> ---

Re: [PATCH] scripts/gdb: Fix invocation when CONFIG_COMMON_CLK is not set

2019-05-23 Thread Leonard Crestez
On 5/24/2019 1:46 AM, Stephen Boyd wrote: > Quoting Fabiano Rosas (2019-05-23 12:53:11) >> diff --git a/scripts/gdb/linux/constants.py.in >> b/scripts/gdb/linux/constants.py.in >> index 1d73083da6cb..2efbec6b6b8d 100644 >> --- a/scripts/gdb/linux/constants.py.in >> +++

Re: [PATCH] scripts/gdb: Fix invocation when CONFIG_COMMON_CLK is not set

2019-05-23 Thread Stephen Boyd
Quoting Fabiano Rosas (2019-05-23 12:53:11) > diff --git a/scripts/gdb/linux/constants.py.in > b/scripts/gdb/linux/constants.py.in > index 1d73083da6cb..2efbec6b6b8d 100644 > --- a/scripts/gdb/linux/constants.py.in > +++ b/scripts/gdb/linux/constants.py.in > @@ -40,7 +40,8 @@ > import gdb > >

[PATCH] scripts/gdb: Fix invocation when CONFIG_COMMON_CLK is not set

2019-05-23 Thread Fabiano Rosas
CLK_GET_RATE_NOCACHE depends on CONFIG_COMMON_CLK. Importing constants.py when CONFIG_COMMON_CLK is not defined causes: (gdb) lx-symbols (...) File "scripts/gdb/linux/proc.py", line 15, in from linux import constants File "scripts/gdb/linux/constants.py", line 2, in