Hi Experts,
I want to obtain the core dump information from the running kernel.
How can I do so by reading the /proc/kcore file.?
Regards
Chandrasekhar
On Wed, 14 May 2003, Chandrasekhar wrote:
> Hi Experts,
>
> I want to obtain the core dump information from the running kernel.
> How can I do so by reading the /proc/kcore file.?
>
> Regards
> Chandrasekhar
> -
>
For all intents and purposes you can treat /proc/kcore as a coredump file
:) . Have a look at kgdb and related tools to interpret it correctly.
Cheers,
Ahmed.
On Wed, May 14, 2003 at 08:16:11AM -0400, Ahmed Masud wrote:
>
>
> On Wed, 14 May 2003, Chandrasekhar wrote:
>
> > Hi Experts,
> >
> > I want to obtain the core dump information from the running kernel.
> > How can I do so by reading the /proc/kcore file.?
> >
> > Regards
> > Chandrasekhar
> > -
> >
>
> For all intents and purposes you can treat /proc/kcore as a coredump file
> :) . Have a look at kgdb and related tools to interpret it correctly.
>
yeah, except that /proc/kcore is "dynamic" so you can't always trust the gdb cached information.
> Cheers,
>
> Ahmed.
>
Cheers,
Daniele