[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Core



Try "gdb a.out core", where "a.out" is the program that dumped "core".
Once you get gdb prompt, type "where", to see exact location of the code
which
dumped core.
The pre-requisite is that you should have compiled a.out with debug option.

- Sarath

----- Original Message -----
From: "Karthika Sivaramakrishnan" <karthika212@xxxxxxxxxxxxxx>
To: "LIP" <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, March 01, 2001 10:11 PM
Subject: [LIP] Core


> Hello!
> How can "core" be decoded? Is it really helpful in getting an idea of what
went wrong in executing (C) programs, esp. segmentation faults?
> - Karthika
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
>
> ---------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/