At Fri, 27 Jun 2003 09:37:40 +0000 (UTC), kuriyama wrote: > (kgdb) l *linux_brk+0x1a > 0xc19d24ca is in linux_brk > (/.a/black/host/disk/arena/home/kuriyama/ncvs/src/sys/compat/linux/linux_misc.c:217). > 212 > 213 #ifdef DEBUG > 214 if (ldebug(brk)) > 215 printf(ARGS(brk, "%p"), (void *)args->dsend); > 216 #endif > 217 old = (vm_offset_t)vm->vm_daddr + ctob(vm->vm_dsize); > 218 new = (vm_offset_t)args->dsend; > 219 tmp.nsize = (char *) new; > 220 if (((caddr_t)new > vm->vm_daddr) && !obreak(td, &tmp)) > 221 td->td_retval[0] = (long)new;
I've checked via printf debugging. It seems "vm" is NULL at line 217. So NULL is from td->td_proc->p_vmspace. 205 linux_brk(struct thread *td, struct linux_brk_args *args) 206 { 207 struct vmspace *vm = td->td_proc->p_vmspace; -- Jun Kuriyama <[EMAIL PROTECTED]> // IMG SRC, Inc. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"