[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Regarding coredump and restart
From:       Ian Lepore <freebsd () damnhippie ! dyndns ! org>
Date:       2012-03-29 21:39:39
Message-ID: 1333057179.1111.50.camel () revolution ! hippie ! lan
[Download RAW message or body]

On Fri, 2012-03-30 at 01:10 +0800, Mahesh Babu wrote:
> I am currently working on coredump and then restarting the process in FreeBSD 9.
> 
> 
> I have created the coredump file for a process using gcore of gdb.
> 
> I am not able restart the process from the coredump file.
> 
> Is there any ways to restart the process using gdb itself or any other ways to \
> implement restarting of the process from the coredump file? 
> 
> Thanks,
> Mahesh

A coredump does not contain the entire state of a process, it only
contains the part of the state that is contained within memory belonging
to the process.  Other parts of the state can exist outside of that
memory.   For example, in open disk files, in the corresponding state of
another process at the other end of a socket connection, and so on.
Bringing back the memory image will not bring back the corresponding
state in external resources.

-- Ian


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic