lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] scripts/gdb: use mem instead of core_layout to get the module address
From

>>> 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@samsung.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.

\
 
 \ /
  Last update: 2023-04-12 22:06    [W:0.531 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site