On Thu, 22 Jan 2009, Kenneth Gonsalves wrote:

> [r...@localhost lawgon]# gdb ./core.32228

It should be $ gdb binfile corefile

As of now, you have only core file and you have to find the bin file,
which generate the core. With present setting, you have to monitor all
the processes (PID and Program name). Once core created (core.PID),
you need to find the Program name by checking the PID.

The above step is bit complicated. So you can try the following:

echo "core.%N.%P" > /proc/sys/kernel/core_name_format

Now core file will be created like this

core.prgname.pid

Now it is easy to find the process name.

Bye :)
-- 
Bharathi S

_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to