Current-Users archive

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

Re: savecore can't dump



On Sun, Jun 21, 2009 at 04:02:28PM -0400, Thor Lancelot Simon wrote:
> 
> Um, no.  All the symbols needed to debug are dumped out from /dev/ksyms
> at savecore time just as they'd be dumped out from the booted kernel --
> neither of which will do you any good at all if you don't also happen
> to have the unstripped debug kernel handy to debug with, which really
> makes this "you need the running kernel to debug!" business a complete
> red herring.

Since the kernel symbol table is in kernel memory, surely it is just
a SMOP to make the debugger find the symbols from within the dump
image itself.

Maybe putting the address of the table base at some well known address
in the dump header (when writing the dump) is sufficient.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index