[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGNP_+U-5bUysiwLN9fL0+d__GKOc_5Ak9MDKi6EeeSzPCK-Lw@mail.gmail.com>
Date: Fri, 11 Oct 2019 14:56:19 +0200
From: Joel Colledge <joel.colledge@...bit.com>
To: Jan Kiszka <jan.kiszka@...mens.com>
Cc: Leonard Crestez <leonard.crestez@....com>,
Kieran Bingham <kbingham@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scripts/gdb: fix lx-dmesg when CONFIG_PRINTK_CALLER is set
On Fri, Oct 11, 2019 at 2:38 PM Jan Kiszka <jan.kiszka@...mens.com> wrote:
> Does bitpos really use a non-int type? Otherwise, plain '/' suffices.
bitpos uses gdb.Field. When I use '/' I get an error:
Error occurred in Python command: slice indices must be integers or
None or have an __index__ method
I'm guessing gdb.Field has some kind of override which causes it to be
converted to float when using '/'; hence '//'.
> Overlong line.
> ...
> Here as well. Better use some temp vars to break up the expressions.
> Helps with readability.
Will do.
Powered by blists - more mailing lists