diff options
author | tegge <tegge@FreeBSD.org> | 1997-06-27 15:42:05 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1997-06-27 15:42:05 +0000 |
commit | 85a4ec2f439a5c0c66a7408254d90b5c6150bf99 (patch) | |
tree | c880ff3cd7b30ba1914bf1a5caa00646b6004025 /sys/kern/kern_proc.c | |
parent | 4e31107244c91966217018a9a8c5a85fddbdd0bf (diff) | |
download | FreeBSD-src-85a4ec2f439a5c0c66a7408254d90b5c6150bf99.zip FreeBSD-src-85a4ec2f439a5c0c66a7408254d90b5c6150bf99.tar.gz |
Fill in some extra fields in the eproc structure. gdb uses this information
to determine where the data segment in core dumps should be mapped.
Reviewed by: Peter Wemm <peter@spinner.dialix.com.au>
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index cecf89f..9ddcaab 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 - * $Id: kern_proc.c,v 1.25 1997/02/22 09:39:08 peter Exp $ + * $Id: kern_proc.c,v 1.26 1997/03/24 11:24:36 bde Exp $ */ #include <sys/param.h> @@ -420,6 +420,10 @@ fill_eproc(p, ep) ep->e_vm.vm_tsize = vm->vm_tsize; ep->e_vm.vm_dsize = vm->vm_dsize; ep->e_vm.vm_ssize = vm->vm_ssize; + ep->e_vm.vm_taddr = vm->vm_taddr; + ep->e_vm.vm_daddr = vm->vm_daddr; + ep->e_vm.vm_minsaddr = vm->vm_minsaddr; + ep->e_vm.vm_maxsaddr = vm->vm_maxsaddr; #ifndef sparc ep->e_vm.vm_pmap = vm->vm_pmap; #endif |