[PATCH] [makedumpfile] Follow debuginfo link of vmlinux file

Bernhard Walle bwalle at suse.de
Thu May 24 02:54:59 EDT 2007


* 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? Very new versions of the binutils
don't add the program headers to the debug info file any more
(currently only in binutils CVS), so we need gnu_debuglink support
anyway. Of course my patch cannot handle this yet. I'll test this
after we have the binutils version in our distribution which will be
very soon ;-(.


Thanks,
   Bernhard
-- 
SUSE LINUX Products GmbH          Tel. +49 (911) 74053-0
Maxfeldstr. 5                     GF: Markus Rex
90409 Nürnberg, Germany           HRB 16746 (AG Nürnberg)
OpenPGP DDAF6454: F61F 34CC 09CA FB82 C9F6  BA4B 8865 3696 DDAF 6454



More information about the kexec mailing list