2003-05-14 11:58:24

by Chandrasekhar

[permalink] [raw]
Subject: Core Dump Report

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


2003-05-14 12:05:39

by Ahmed Masud

[permalink] [raw]
Subject: Re: Core Dump Report



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.

2003-05-14 19:37:18

by Daniele Pala

[permalink] [raw]
Subject: Re: Core Dump Report

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