[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <60dc0eca-dc6c-0df4-548f-0cc55c5ef0f5@samsung.com>
Date: Wed, 12 Apr 2023 22:06:23 +0200
From: Pankaj Raghav <p.raghav@...sung.com>
To: Florian Fainelli <f.fainelli@...il.com>, <jan.kiszka@...mens.com>,
<kbingham@...nel.org>
CC: <gost.dev@...sung.com>, <linux-kernel@...r.kernel.org>,
<song@...nel.org>, <mcgrof@...nel.org>
Subject: Re: [PATCH] scripts/gdb: use mem instead of core_layout to get the
module address
>>> Replace core_layout with its new counterpart mem[MOD_TEXT].
>>>
>>> Fixes: ac3b43283923 ("module: replace module_layout with module_memory")
>>> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
>>> ---
>>
>> I had one question:
>> - Is there a way to import enum? I currently hard code 0 but it will better if we can
>> use the MOD_TEXT enum instead.
>
> You should be able to with updating constants.py.in and using LX_GDBPARSED()
Thanks a lot. This helps.
Powered by blists - more mailing lists