[PATCH] [makedumpfile] Follow debuginfo link of vmlinux file
Bernhard Walle
bwalle at suse.de
Thu May 24 03:09:08 EDT 2007
* Bernhard Walle <bwalle at suse.de> [2007-05-24 08:54]:
> * Ken'ichi Ohmichi <oomichi at mxs.nes.nec.co.jp> [2007-05-24 02:35]:
> > 2007/05/01 15:39:12 +0200, Bernhard Walle <bwalle at suse.de> wrote:
> > >This patch implements support for following the debug information link in the
> > >.gnu_debuginfo section if the specified binary contains one. That makes it
> > >possible to call makedumpfile with -x /boot/vmlinux-<version> on distributions
> > >that ship extra -debuginfo packages for the kernel.
> >
> > Isn't it good to specify the debuginfo file directly instead of your patch ?
> > I confirmed that makedumpfile without your patch can run by specifying the
> > debuginfo file directly.
>
> But it needs program headers, right?
After reading the source code again I don't think so.
While I like the idea of following the .gnu_debuglink more I can also
accept your decision that the user has to specify the debug info file
manually.
Thanks,
Bernhard
More information about the kexec
mailing list