On Sunday 02 March 2003 17:12, Bruce Evans wrote:
> On Sun, 2 Mar 2003, Jun Su wrote:
> > I am adding some new feature to the kgdb. I am not sure why the libkvm
> > doesn't implement reading from memory space when checking core dump. Who
> > can give some comments on this? If it is possible, I will try to
> > implement it.
>
> It was lost when libkvm was converted to use procfs (reading from
> /proc/<pid>/mem instead of from kmem).  procfs is often considered
> harmful for even more reasons than this, but replacing it by sysctls
> tends to break support for dead kernels even more since sysctl() is
> completely unlike read().
>
> Bruce

We can use the same method which libkvm read kernel memory space when in core 
dump to implemt the same thing for user memory space. Currently, I am 
cosidering the feature for debug core dump or debug remote machine more than 
debug /dev/mem. I think it is possible. Am I right?

Jun

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to