Date: Wed, 10 Sep 1997 21:58:50 +0200 From: "Helmut F. Wirth" <hfwirth@ping.at> To: Bruce Evans <bde@zeta.org.au> Cc: emulation@freebsd.org Subject: Re: Doscmd, debugging with gdb Message-ID: <3416FBFA.41C67EA6@ping.at> References: <199709100440.OAA10269@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: [snip] > Try this fix. > > diff -c2 vm_map.c~ vm_map.c > *** vm_map.c~ Mon Sep 1 18:00:38 1997 > --- vm_map.c Wed Sep 10 14:02:48 1997 > *************** > *** 2288,2292 **** > (entry->eflags & MAP_ENTRY_COW) == 0 || > (entry->wired_count != 0)) { > ! if ((fault_type & (prot)) != fault_type) > RETURN(KERN_PROTECTION_FAILURE); > } > --- 2288,2293 ---- > (entry->eflags & MAP_ENTRY_COW) == 0 || > (entry->wired_count != 0)) { > ! if ((fault_type & prot) != > ! (fault_type & ~VM_PROT_OVERRIDE_WRITE)) > RETURN(KERN_PROTECTION_FAILURE); > } > > Bruce Hello, I tried it and it works! Can trace into and attach to doscmd. Thank you! Helmut -- Helmut F. Wirth Email: hfwirth@ping.at
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3416FBFA.41C67EA6>