`objcopy --decompress-debug-sections vmlinux` could work, too.
Thank you lijiang!
lijiang <lijiang@xxxxxxxxxx> 於 2024年5月23日 週四 下午3:29寫道:
On Thu, May 23, 2024 at 12:07 PM <devel-request@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:Date: Thu, 23 May 2024 01:28:12 -0000
From: jarvis0922@xxxxxxxxx
Subject: Re: crash8.0.5 cannot parse vmlinux compiled
by google-A15-kernel6.6
To: devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Message-ID: <20240523012812.12611.42286@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"
> On Wed, May 22, 2024 at 3:26 PM <jarvis0922(a)gmail.com> wrote:
>
> Hmm... Interesting. Frankly we don't have very strong motivation to
> move to a higher version of gdb for now. But I guess your case will
> increase the motivation. Have you tried
> https://github.com/liutgnu/crash-preview, which is integrated with a
> newer gdb. Does that work for you?
It can work for me with vmlinux with CONFIG_DEBUG_INFO_COMPRESSED_ZSTD set
Hope it could be good motivation to upgrade gdb as it seems to be more common to have it set
Thanks for pointing out this issue. Can you help to check if it can work well for you as below? Just want to confirm if crash also works well without the latest embedded gdb.1. objcopy --decompress-debug-sections vmlinux2. crash vmlinux vmcoreIf yes, at least it can parse the current vmlinux(with compressed debug info) until the new gdb grade is completed.ThanksLianboThanks.
>
> Thanks,
> Tao Liu
-- Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki