Re: [PATCH v3 1/2] Let gdb get kernel module symbols info from crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022/08/31 16:48, lijiang wrote:
> Hi, Tao
> Thank you for the update.
> On Wed, Aug 31, 2022 at 11:58 AM <crash-utility-request@xxxxxxxxxx> wrote:
> 
>> Date: Wed, 31 Aug 2022 11:54:13 +0800
>> From: Tao Liu <ltao@xxxxxxxxxx>
>> To: crash-utility@xxxxxxxxxx
>> Subject:  [PATCH v3 1/2] Let gdb get kernel module
>>          symbols info from crash
>> Message-ID: <20220831035413.10831-1-ltao@xxxxxxxxxx>
>> Content-Type: text/plain; charset="US-ASCII"; x-default=true
>>
>> Gdb will try to resolve an address to its corresponding symbol name such as
>> when printing a structure. It works fine for kernel symbols, because gdb
>> can
>> find them through vmlinux. However as for kernel modules symbols, crash
>> resolves them by dig into "struct module", which gdb don't know. As a
>> results, gdb fails to translate an kernel modules address to it's symbolic
>> name. For example we can reproduce the issue as follows.

Thanks for the v3.
I've added 'without "mod -s|-S" options' to the commit log and applied.
https://github.com/crash-utility/crash/commit/2145b2bb79c59aa25c5155a8f9851554d1813fb9

Thanks,
Kazu
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux