From owner-cvs-gnu Sun Jan 11 12:48:40 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA04940 for cvs-gnu-outgoing; Sun, 11 Jan 1998 12:48:40 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA04702; Sun, 11 Jan 1998 12:46:14 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA18172; Sun, 11 Jan 1998 12:45:36 -0800 (PST) Date: Sun, 11 Jan 1998 12:45:36 -0800 (PST) Message-Id: <199801112045.MAA18172@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.1 Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/11 12:45:36 PST Modified files: (Branch: RELENG_2_2) gnu/usr.bin/patch patch.1 Log: Back out rev1.5 change, Index: precedence restored to historycal behaviour Revision Changes Path 1.5.2.1 +2 -2 src/gnu/usr.bin/patch/Attic/patch.1 From owner-cvs-gnu Mon Jan 19 06:39:24 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02093 for cvs-gnu-outgoing; Mon, 19 Jan 1998 06:39:24 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA02000; Mon, 19 Jan 1998 06:38:30 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA29249; Mon, 19 Jan 1998 06:27:42 -0800 (PST) Date: Mon, 19 Jan 1998 06:27:42 -0800 (PST) Message-Id: <199801191427.GAA29249@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/gdb/gdb kvm-fbsd.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/01/19 06:27:42 PST Modified files: gnu/usr.bin/gdb/gdb kvm-fbsd.c Log: Removed `kstack' and associated mistranslations in kvtophys(). Correct translations would have been null. However, kstack was the top of the kernel stack instead of the base of the kernel stack like it was when the kernel exported it, so the area above the kernel stack was mistranslated and the kernel stack was not translated. This bug was depended on to compensate for the wrong value of kstack - to read the pcb, instead of just using the address of the pcb, we used the mistranslated address of kstack, which happened to be the same (curpcb = kstack - 0x2000). This area is simpler than it used to be now that the kernel stack address is per-process. The code still seems to be more complicated than necessary - the `found_pcb == 0' case seems to be unused. Revision Changes Path 1.11 +1 -18 src/gnu/usr.bin/gdb/gdb/kvm-fbsd.c From owner-cvs-gnu Mon Jan 19 07:40:51 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA06872 for cvs-gnu-outgoing; Mon, 19 Jan 1998 07:40:51 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA06693; Mon, 19 Jan 1998 07:38:30 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA29361; Mon, 19 Jan 1998 07:27:57 -0800 (PST) Date: Mon, 19 Jan 1998 07:27:57 -0800 (PST) Message-Id: <199801191527.HAA29361@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/gdb/gdb kvm-fbsd.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/01/19 07:27:57 PST Modified files: gnu/usr.bin/gdb/gdb kvm-fbsd.c Log: Fixed accesses to addresses between VM_MAXUSER_ADDRESS (normally 0xefbfe000) and kernel_start (normally 0xf0100000). Things are unnecessarily (?) difficult because procfs is used to access user addresses in the live-kernel case although we must have access to /dev/mem to work at all, and whatever works for the dead-kernel case should work in all cases (modulo volatility of live kernel variables). We used the wrong range [0, kernel_start) for user addresses. Procfs should only work up to VM_MAXUSER_ADDRESS, but it bogusly works for reads up to the address 2 pages higher (the user area, including the kernel stack, is mapped to where the user area used to be (WTUAUTB)). Procfs can not work at all for addresses between WTUAUTB and kernel_start. Now we use procfs only to access addresses up to VM_MAXUSER_ADDRESS. Higher addresses are translated normally using kvtophys(), so the user ptd is used for addresses below the real kernel start (0xf0000000; see INKERNEL()) and nothing is found WTUAUTB. Strange accesses that cross the user-kernel boundary are now handled, but such ranges are currently always errors because they necessarily overlap the hole WTUAUTB. Short reads are still not handled. Revision Changes Path 1.12 +21 -12 src/gnu/usr.bin/gdb/gdb/kvm-fbsd.c From owner-cvs-gnu Wed Jan 21 06:39:59 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28490 for cvs-gnu-outgoing; Wed, 21 Jan 1998 06:39:59 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28435; Wed, 21 Jan 1998 06:38:49 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA11412; Wed, 21 Jan 1998 06:37:29 -0800 (PST) Date: Wed, 21 Jan 1998 06:37:29 -0800 (PST) Message-Id: <199801211437.GAA11412@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch EXTERN.h INTERN.h backupfile.c backupfile.h common.h getopt.c getopt.h getopt1.c inp.c inp.h patch.1 patch.c pch.c pch.h util.c util.h version.c version.h Makefile config.h patchlevel.h Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 06:37:29 PST Modified files: gnu/usr.bin/patch Makefile config.h patchlevel.h Added files: gnu/usr.bin/patch EXTERN.h INTERN.h backupfile.c backupfile.h common.h getopt.c getopt.h getopt1.c inp.c inp.h patch.1 patch.c pch.c pch.h util.c util.h version.c version.h Log: Resurrect patch 2.1 without FreeBSD Index: hack Revision Changes Path 1.6 +4 -14 src/gnu/usr.bin/patch/Makefile 1.4 +66 -110 src/gnu/usr.bin/patch/config.h 1.3 +1 -1 src/gnu/usr.bin/patch/patchlevel.h From owner-cvs-gnu Wed Jan 21 07:11:42 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA01114 for cvs-gnu-outgoing; Wed, 21 Jan 1998 07:11:42 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01083; Wed, 21 Jan 1998 07:11:22 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA11593; Wed, 21 Jan 1998 07:10:15 -0800 (PST) Date: Wed, 21 Jan 1998 07:10:15 -0800 (PST) Message-Id: <199801211510.HAA11593@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.1 patch.c pch.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 07:10:14 PST Modified files: gnu/usr.bin/patch patch.1 patch.c pch.c Log: Add -I or --index-first option to take Index: precedence over context diff, as it was in hacked FreeBSD version Revision Changes Path 1.8 +9 -1 src/gnu/usr.bin/patch/patch.1 1.12 +12 -2 src/gnu/usr.bin/patch/patch.c 1.14 +11 -2 src/gnu/usr.bin/patch/pch.c From owner-cvs-gnu Wed Jan 21 08:09:21 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA07343 for cvs-gnu-outgoing; Wed, 21 Jan 1998 08:09:21 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07306; Wed, 21 Jan 1998 08:08:49 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA11650; Wed, 21 Jan 1998 07:15:40 -0800 (PST) Date: Wed, 21 Jan 1998 07:15:40 -0800 (PST) Message-Id: <199801211515.HAA11650@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 07:15:40 PST Modified files: gnu/usr.bin/patch patch.c Log: Update usage line with new option Revision Changes Path 1.13 +6 -2 src/gnu/usr.bin/patch/patch.c From owner-cvs-gnu Wed Jan 21 11:03:38 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21226 for cvs-gnu-outgoing; Wed, 21 Jan 1998 11:03:38 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21189; Wed, 21 Jan 1998 11:03:05 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA03361; Wed, 21 Jan 1998 11:01:56 -0800 (PST) Date: Wed, 21 Jan 1998 11:01:56 -0800 (PST) Message-Id: <199801211901.LAA03361@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.1 patch.c pch.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 11:01:56 PST Modified files: (Branch: RELENG_2_2) gnu/usr.bin/patch patch.1 patch.c pch.c Log: MFC: -I, --index-first option to emulate FreeBSD hack Revision Changes Path 1.5.2.2 +16 -1 src/gnu/usr.bin/patch/patch.1 1.6.6.2 +72 -9 src/gnu/usr.bin/patch/patch.c 1.8.2.3 +25 -2 src/gnu/usr.bin/patch/pch.c From owner-cvs-gnu Wed Jan 21 23:44:14 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA22398 for cvs-gnu-outgoing; Wed, 21 Jan 1998 23:44:14 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA22374; Wed, 21 Jan 1998 23:44:08 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA02000; Wed, 21 Jan 1998 23:44:05 -0800 (PST) Date: Wed, 21 Jan 1998 23:44:05 -0800 (PST) Message-Id: <199801220744.XAA02000@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.1 patch.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 23:44:05 PST Modified files: gnu/usr.bin/patch patch.1 patch.c Log: Add PATCH_INDEX_FIRST environment variable to do the same as -I option Revision Changes Path 1.9 +8 -1 src/gnu/usr.bin/patch/patch.1 1.14 +9 -3 src/gnu/usr.bin/patch/patch.c From owner-cvs-gnu Wed Jan 21 23:46:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA22509 for cvs-gnu-outgoing; Wed, 21 Jan 1998 23:46:05 -0800 (PST) (envelope-from owner-cvs-gnu) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA22475; Wed, 21 Jan 1998 23:45:59 -0800 (PST) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA02059; Wed, 21 Jan 1998 23:45:55 -0800 (PST) Date: Wed, 21 Jan 1998 23:45:55 -0800 (PST) Message-Id: <199801220745.XAA02059@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG Subject: cvs commit: src/gnu/usr.bin/patch patch.1 patch.c Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1998/01/21 23:45:55 PST Modified files: (Branch: RELENG_2_2) gnu/usr.bin/patch patch.1 patch.c Log: MFC: PATCH_INDEX_FIRST environment variable Revision Changes Path 1.5.2.3 +7 -1 src/gnu/usr.bin/patch/patch.1 1.6.6.3 +9 -3 src/gnu/usr.bin/patch/patch.c