From owner-p4-projects@FreeBSD.ORG Tue Nov 30 23:16:46 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5D66F16A4D0; Tue, 30 Nov 2004 23:16:46 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32D6616A4CE for ; Tue, 30 Nov 2004 23:16:46 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B959143D2F for ; Tue, 30 Nov 2004 23:16:45 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iAUNGjoJ030511 for ; Tue, 30 Nov 2004 23:16:45 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAUNGjhf030508 for perforce@freebsd.org; Tue, 30 Nov 2004 23:16:45 GMT (envelope-from sam@freebsd.org) Date: Tue, 30 Nov 2004 23:16:45 GMT Message-Id: <200411302316.iAUNGjhf030508@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Subject: PERFORCE change 66149 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 23:16:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=66149 Change 66149 by sam@sam_ebb on 2004/11/30 23:15:57 IFC @ 66148 Affected files ... .. //depot/projects/wifi/MAINTAINERS#2 integrate .. //depot/projects/wifi/bin/ps/ps.1#2 integrate .. //depot/projects/wifi/etc/devd.conf#3 integrate .. //depot/projects/wifi/etc/usbd.conf#3 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/Makefile.inc#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/arch/alpha/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/arch/amd64/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/arch/i386/Makefile#3 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/arch/ia64/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/arch/sparc64/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/gdb/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/gdbtui/Makefile#3 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/kgdb/Makefile#2 integrate .. //depot/projects/wifi/gnu/usr.bin/gdb/libgdb/Makefile#4 integrate .. //depot/projects/wifi/lib/libarchive/archive_write_set_format_pax.c#4 integrate .. //depot/projects/wifi/lib/libc/alpha/gen/divrem.m4#2 integrate .. //depot/projects/wifi/lib/libc/sys/mount.2#2 integrate .. //depot/projects/wifi/lib/libc/sys/statfs.2#2 integrate .. //depot/projects/wifi/sbin/devd/devd.8#2 integrate .. //depot/projects/wifi/sbin/mount/mntopts.h#3 integrate .. //depot/projects/wifi/sbin/mount/mount.8#2 integrate .. //depot/projects/wifi/sbin/mount/mount.c#2 integrate .. //depot/projects/wifi/sbin/mount_std/mount_std.8#2 integrate .. //depot/projects/wifi/sbin/sconfig/sconfig.8#2 integrate .. //depot/projects/wifi/share/man/man4/Makefile#7 integrate .. //depot/projects/wifi/share/man/man4/smp.4#2 integrate .. //depot/projects/wifi/share/man/man7/security.7#2 integrate .. //depot/projects/wifi/share/man/man9/vfs_mount.9#2 integrate .. //depot/projects/wifi/sys/alpha/alpha/divrem.m4#2 integrate .. //depot/projects/wifi/sys/amd64/amd64/busdma_machdep.c#5 integrate .. //depot/projects/wifi/sys/amd64/amd64/gdb_machdep.c#2 integrate .. //depot/projects/wifi/sys/amd64/amd64/machdep.c#5 integrate .. //depot/projects/wifi/sys/amd64/amd64/vm_machdep.c#3 integrate .. //depot/projects/wifi/sys/boot/efi/include/efilib.h#2 integrate .. //depot/projects/wifi/sys/boot/efi/libefi/Makefile#3 integrate .. //depot/projects/wifi/sys/boot/efi/libefi/copy.c#2 integrate .. //depot/projects/wifi/sys/boot/ficl/ficl.h#2 integrate .. //depot/projects/wifi/sys/boot/ficl/loader.c#2 integrate .. //depot/projects/wifi/sys/boot/i386/loader/Makefile#2 integrate .. //depot/projects/wifi/sys/boot/i386/loader/loader.rc#2 delete .. //depot/projects/wifi/sys/boot/ia64/efi/Makefile#2 integrate .. //depot/projects/wifi/sys/boot/ia64/efi/efimd.c#1 branch .. //depot/projects/wifi/sys/boot/pc98/btx/btx/btx.S#2 integrate .. //depot/projects/wifi/sys/boot/pc98/loader/Makefile#2 integrate .. //depot/projects/wifi/sys/dev/acpi_support/acpi_sony.c#2 integrate .. //depot/projects/wifi/sys/dev/acpica/acpi_pci.c#2 integrate .. //depot/projects/wifi/sys/dev/acpica/acpi_pci_link.c#4 integrate .. //depot/projects/wifi/sys/dev/uart/uart_cpu_sparc64.c#3 integrate .. //depot/projects/wifi/sys/dev/usb/umass.c#3 integrate .. //depot/projects/wifi/sys/dev/usb/usbdevs#4 integrate .. //depot/projects/wifi/sys/geom/geom_mbr.c#3 integrate .. //depot/projects/wifi/sys/geom/geom_pc98.c#2 integrate .. //depot/projects/wifi/sys/i386/i386/busdma_machdep.c#4 integrate .. //depot/projects/wifi/sys/i386/i386/vm_machdep.c#4 integrate .. //depot/projects/wifi/sys/ia64/include/bootinfo.h#2 integrate .. //depot/projects/wifi/sys/kern/kern_descrip.c#6 integrate .. //depot/projects/wifi/sys/kern/kern_lock.c#2 integrate .. //depot/projects/wifi/sys/kern/kern_shutdown.c#3 integrate .. //depot/projects/wifi/sys/kern/kern_umtx.c#2 integrate .. //depot/projects/wifi/sys/kern/subr_param.c#3 integrate .. //depot/projects/wifi/sys/kern/uipc_domain.c#4 integrate .. //depot/projects/wifi/sys/kern/uipc_socket.c#4 integrate .. //depot/projects/wifi/sys/kern/vfs_export.c#2 integrate .. //depot/projects/wifi/sys/kern/vfs_mount.c#5 integrate .. //depot/projects/wifi/sys/net/if.c#5 integrate .. //depot/projects/wifi/sys/net80211/ieee80211_node.c#19 edit .. //depot/projects/wifi/sys/netgraph/bluetooth/socket/ng_btsocket.c#3 integrate .. //depot/projects/wifi/sys/netgraph/ng_ppp.c#2 integrate .. //depot/projects/wifi/sys/netgraph/ng_socket.c#3 integrate .. //depot/projects/wifi/sys/netinet/tcp.h#4 integrate .. //depot/projects/wifi/sys/netinet/tcp_input.c#6 integrate .. //depot/projects/wifi/sys/netinet/tcp_output.c#3 integrate .. //depot/projects/wifi/sys/netinet/tcp_usrreq.c#5 integrate .. //depot/projects/wifi/sys/netinet6/scope6.c#2 integrate .. //depot/projects/wifi/sys/nfsclient/nfs_vnops.c#3 integrate .. //depot/projects/wifi/sys/powerpc/include/psl.h#2 integrate .. //depot/projects/wifi/sys/sys/domain.h#2 integrate .. //depot/projects/wifi/sys/sys/pioctl.h#2 integrate .. //depot/projects/wifi/sys/sys/socket.h#2 integrate .. //depot/projects/wifi/tools/regression/usr.bin/make/Makefile#4 integrate .. //depot/projects/wifi/tools/tools/nanobsd/Customize/NET4801#1 branch .. //depot/projects/wifi/tools/tools/nanobsd/Customize/comconsole#1 branch .. //depot/projects/wifi/tools/tools/nanobsd/Customize/default#1 branch .. //depot/projects/wifi/tools/tools/nanobsd/Customize/nobeastie#1 branch .. //depot/projects/wifi/tools/tools/nanobsd/Makefile#2 integrate .. //depot/projects/wifi/tools/tools/nanobsd/customize.sh#2 integrate .. //depot/projects/wifi/tools/tools/nanobsd/i386.diskimage#2 integrate .. //depot/projects/wifi/tools/tools/nanobsd/make.conf#5 integrate .. //depot/projects/wifi/usr.bin/make/Makefile#3 integrate .. //depot/projects/wifi/usr.bin/make/arch.c#2 integrate .. //depot/projects/wifi/usr.bin/make/buf.c#2 integrate .. //depot/projects/wifi/usr.bin/make/buf.h#2 integrate .. //depot/projects/wifi/usr.bin/make/compat.c#3 integrate .. //depot/projects/wifi/usr.bin/make/cond.c#2 integrate .. //depot/projects/wifi/usr.bin/make/dir.c#2 integrate .. //depot/projects/wifi/usr.bin/make/dir.h#2 integrate .. //depot/projects/wifi/usr.bin/make/for.c#2 integrate .. //depot/projects/wifi/usr.bin/make/hash.c#2 integrate .. //depot/projects/wifi/usr.bin/make/hash.h#2 integrate .. //depot/projects/wifi/usr.bin/make/job.c#6 integrate .. //depot/projects/wifi/usr.bin/make/job.h#4 integrate .. //depot/projects/wifi/usr.bin/make/lst.h#2 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstAppend.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstAtEnd.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstAtFront.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstClose.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstConcat.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstDatum.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstDeQueue.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstDestroy.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstDupl.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstEnQueue.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstFind.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstFindFrom.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstFirst.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstForEach.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstForEachFrom.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstInit.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstInsert.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstInt.h#2 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstIsAtEnd.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstIsEmpty.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstLast.c#2 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstMember.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstNext.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstOpen.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstRemove.c#3 integrate .. //depot/projects/wifi/usr.bin/make/lst.lib/lstReplace.c#3 delete .. //depot/projects/wifi/usr.bin/make/lst.lib/lstSucc.c#3 delete .. //depot/projects/wifi/usr.bin/make/main.c#6 integrate .. //depot/projects/wifi/usr.bin/make/make.c#3 integrate .. //depot/projects/wifi/usr.bin/make/parse.c#3 integrate .. //depot/projects/wifi/usr.bin/make/str.c#2 integrate .. //depot/projects/wifi/usr.bin/make/suff.c#2 integrate .. //depot/projects/wifi/usr.bin/make/targ.c#2 integrate .. //depot/projects/wifi/usr.bin/make/util.c#2 integrate .. //depot/projects/wifi/usr.bin/make/var.c#2 integrate .. //depot/projects/wifi/usr.bin/make/var.h#2 integrate .. //depot/projects/wifi/usr.bin/make/var_modify.c#2 integrate .. //depot/projects/wifi/usr.bin/ncal/Makefile#3 integrate .. //depot/projects/wifi/usr.sbin/ppp/bundle.c#2 integrate .. //depot/projects/wifi/usr.sbin/ppp/bundle.h#2 integrate .. //depot/projects/wifi/usr.sbin/ppp/command.c#2 integrate .. //depot/projects/wifi/usr.sbin/ppp/main.c#2 integrate .. //depot/projects/wifi/usr.sbin/ppp/ppp.8.m4#3 integrate .. //depot/projects/wifi/usr.sbin/ppp/radius.c#2 integrate .. //depot/projects/wifi/usr.sbin/usbd/usbd.c#2 integrate Differences ... ==== //depot/projects/wifi/MAINTAINERS#2 (text+ko) ==== @@ -1,4 +1,4 @@ -$FreeBSD: src/MAINTAINERS,v 1.100 2004/09/08 02:08:33 grog Exp $ +$FreeBSD: src/MAINTAINERS,v 1.101 2004/11/30 20:04:47 eik Exp $ subsystem login notes ----------------------------- @@ -102,6 +102,7 @@ rpc.lockd alfred Will be happy to review code, but not mandatory. truss alfred Will be happy to review code, but not mandatory. rpc alfred Pre-commit review requested. +pkg_install eik Pre-commit review or approval from portmgr@ requested. Following are the entries from the Makefiles, and a few other sources. Please remove stale entries from both their origin, and this file. ==== //depot/projects/wifi/bin/ps/ps.1#2 (text+ko) ==== @@ -26,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)ps.1 8.3 (Berkeley) 4/18/94 -.\" $FreeBSD: src/bin/ps/ps.1,v 1.79 2004/06/22 01:59:54 gad Exp $ +.\" $FreeBSD: src/bin/ps/ps.1,v 1.80 2004/11/29 12:00:24 rwatson Exp $ .\" .Dd March 27, 2004 .Dt PS 1 @@ -249,7 +249,9 @@ .Nm will use the one which was specified last. .It Fl Z -Add label to the list of keywords for which +Add +.Xr mac 4 +label to the list of keywords for which .Nm will display information. .El @@ -601,9 +603,6 @@ .El .Sh FILES .Bl -tag -width ".Pa /boot/kernel/kernel" -compact -.It Pa /dev/lomac -interface used to query the -.Xr lomac 4 KLD .It Pa /boot/kernel/kernel default system namelist @@ -618,7 +617,7 @@ .Xr w 1 , .Xr kvm 3 , .Xr strftime 3 , -.Xr lomac 4 , +.Xr mac 4 , .Xr procfs 5 , .Xr pstat 8 , .Xr sysctl 8 , ==== //depot/projects/wifi/etc/devd.conf#3 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/etc/devd.conf,v 1.18 2004/11/08 20:24:51 ru Exp $ +# $FreeBSD: src/etc/devd.conf,v 1.19 2004/11/28 23:16:00 iedowse Exp $ # # Refer to devd.conf(5) and devd(8) man pages for the details on how to # run and configure devd. @@ -66,6 +66,13 @@ action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; +# The entry below starts moused when a mouse is plugged in. Moused +# stops automatically (actually it bombs :) when the device disappears. +attach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused start $device-name"; +}; + # # Rescan scsi device-names on attach, but not detach. # ==== //depot/projects/wifi/etc/usbd.conf#3 (text+ko) ==== @@ -2,7 +2,7 @@ # # See usbd.conf(5) for the description of the format of the file. # -# $FreeBSD: src/etc/usbd.conf,v 1.13 2004/11/01 18:05:40 mtm Exp $ +# $FreeBSD: src/etc/usbd.conf,v 1.15 2004/11/28 23:16:00 iedowse Exp $ # Firmware download into the ActiveWire board. After the firmware download is # done the device detaches and reappears as something new and shiny automatically. @@ -22,15 +22,6 @@ attach "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload usio; fi" attach "/usr/sbin/ezdownload -v -f /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}" -# The entry below starts and stops dhclient when an ethernet device is inserted -# Caveat: It does not support multiple interfaces (but neither does pccardd, -# it shouldn't be too big a deal :-) -# -device "USB ethernet" - devname "[ackr]ue[0-9]+" - attach "/etc/pccard_ether ${DEVNAME} start" - detach "/etc/pccard_ether ${DEVNAME} stop" - # This entry starts the ColdSync tool in daemon mode. Make sure you have an up # to date /usr/local/etc/palms. We override the 'listen' settings for port and # type in /usr/local/etc/coldsync.conf. @@ -41,13 +32,6 @@ release 0x0100 attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb" -# The entry below starts moused when a mouse is plugged in. Moused -# stops automatically (actually it bombs :) when the device disappears. -# -device "Mouse" - devname "ums[0-9]+" - attach "/etc/rc.d/moused start ${DEVNAME}" - # The fallthrough entry: Nothing is specified, nothing is done. And it isn't # necessary at all :-). Just for pretty printing in debugging mode. # ==== //depot/projects/wifi/gnu/usr.bin/gdb/Makefile.inc#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/Makefile.inc,v 1.10 2004/07/06 21:55:11 obrien Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/Makefile.inc,v 1.11 2004/11/30 05:12:35 marcel Exp $ VERSION= "6.1.1 [FreeBSD]" VENDOR= marcel @@ -36,6 +36,12 @@ GENSRCS+= nm.h tm.h +.if defined(GDB_CROSS_DEBUGGER) +CFLAGS+= -DCROSS_DEBUGGER +GDB_SUFFIX= -${TARGET_ARCH} +NOMAN= +.endif + .include "${TARGET_SUBDIR}/Makefile" SRCS+= ${GENSRCS} ==== //depot/projects/wifi/gnu/usr.bin/gdb/arch/alpha/Makefile#2 (text+ko) ==== @@ -1,8 +1,10 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/Makefile,v 1.1 2004/06/25 06:48:53 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/arch/alpha/Makefile,v 1.2 2004/11/30 05:12:35 marcel Exp $ +.if !defined(GDB_CROSS_DEBUGGER) LIBSRCS+= core-regset.c solib-legacy.c -LIBSRCS+= alpha-mdebug-tdep.c alpha-tdep.c alphabsd-nat.c alphabsd-tdep.c \ - alphafbsd-tdep.c +LIBSRCS+= alphabsd-nat.c +.endif +LIBSRCS+= alpha-mdebug-tdep.c alpha-tdep.c alphabsd-tdep.c alphafbsd-tdep.c nm.h: echo '#include "alpha/nm-fbsd.h"' > ${.TARGET} ==== //depot/projects/wifi/gnu/usr.bin/gdb/arch/amd64/Makefile#2 (text+ko) ==== @@ -1,10 +1,12 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/Makefile,v 1.1 2004/06/25 06:48:53 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/arch/amd64/Makefile,v 1.2 2004/11/30 05:12:36 marcel Exp $ GENSRCS+= xm.h -LIBSRCS+= fbsd-proc.c gcore.c -LIBSRCS+= amd64-nat.c amd64-tdep.c amd64bsd-nat.c amd64fbsd-nat.c \ - amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c i386fbsd-tdep.c \ - i387-tdep.c +.if !defined(GDB_CROSS_DEBUGGER) +LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c +LIBSRCS+= amd64-nat.c amd64bsd-nat.c amd64fbsd-nat.c +.endif +LIBSRCS+= amd64-tdep.c amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c \ + i386fbsd-tdep.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd64.h"' > ${.TARGET} ==== //depot/projects/wifi/gnu/usr.bin/gdb/arch/i386/Makefile#3 (text+ko) ==== @@ -1,9 +1,11 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/Makefile,v 1.2 2004/11/09 06:32:37 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/arch/i386/Makefile,v 1.3 2004/11/30 05:12:36 marcel Exp $ GENSRCS+= xm.h -LIBSRCS+= fbsd-proc.c gcore.c -LIBSRCS+= i386-nat.c i386-tdep.c i386bsd-nat.c i386bsd-tdep.c \ - i386fbsd-nat.c i386fbsd-tdep.c i387-tdep.c +.if !defined(GDB_CROSS_DEBUGGER) +LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c +LIBSRCS+= i386-nat.c i386bsd-nat.c i386fbsd-nat.c +.endif +LIBSRCS+= i386-tdep.c i386bsd-tdep.c i386fbsd-tdep.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd.h"' > ${.TARGET} ==== //depot/projects/wifi/gnu/usr.bin/gdb/arch/ia64/Makefile#2 (text+ko) ==== @@ -1,7 +1,10 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/Makefile,v 1.1 2004/06/25 06:48:53 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/Makefile,v 1.2 2004/11/30 05:12:36 marcel Exp $ +.if !defined(GDB_CROSS_DEBUGGER) LIBSRCS+= fbsd-proc.c gcore.c -LIBSRCS+= ia64-fbsd-nat.c ia64-fbsd-tdep.c ia64-tdep.c +LIBSRCS+= ia64-fbsd-nat.c +.endif +LIBSRCS+= ia64-fbsd-tdep.c ia64-tdep.c nm.h: echo '#include "ia64/nm-fbsd.h"' > ${.TARGET} ==== //depot/projects/wifi/gnu/usr.bin/gdb/arch/sparc64/Makefile#2 (text+ko) ==== @@ -1,8 +1,10 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/Makefile,v 1.1 2004/06/25 06:48:54 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/arch/sparc64/Makefile,v 1.2 2004/11/30 05:12:36 marcel Exp $ +.if !defined(GDB_CROSS_DEBUGGER) LIBSRCS+= solib-legacy.c -LIBSRCS+= sparc-nat.c sparc-tdep.c sparc64-nat.c sparc64-tdep.c \ - sparc64fbsd-nat.c sparc64fbsd-tdep.c +LIBSRCS+= sparc-nat.c sparc64-nat.c sparc64fbsd-nat.c +.endif +LIBSRCS+= sparc-tdep.c sparc64-tdep.c sparc64fbsd-tdep.c nm.h: echo '#include "sparc/nm-fbsd.h"' > ${.TARGET} ==== //depot/projects/wifi/gnu/usr.bin/gdb/gdb/Makefile#2 (text+ko) ==== @@ -1,6 +1,6 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/gdb/Makefile,v 1.42 2004/06/26 08:48:50 bde Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/gdb/Makefile,v 1.43 2004/11/30 05:12:36 marcel Exp $ -PROG= gdb +PROG= gdb${GDB_SUFFIX} SRCS= gdb.c BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \ ==== //depot/projects/wifi/gnu/usr.bin/gdb/gdbtui/Makefile#3 (text+ko) ==== @@ -1,6 +1,6 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/gdbtui/Makefile,v 1.3 2004/10/24 15:32:28 ru Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/gdbtui/Makefile,v 1.4 2004/11/30 05:12:37 marcel Exp $ -PROG= gdbtui +PROG= gdbtui${GDB_SUFFIX} SRCS= tui-main.c NOMAN= ==== //depot/projects/wifi/gnu/usr.bin/gdb/kgdb/Makefile#2 (text+ko) ==== @@ -1,7 +1,7 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/kgdb/Makefile,v 1.1 2004/07/25 05:29:15 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/kgdb/Makefile,v 1.3 2004/11/30 05:12:37 marcel Exp $ -PROG= kgdb -SRCS= kthr.c main.c trgt.c trgt_${MACHINE_ARCH}.c +PROG= kgdb${GDB_SUFFIX} +SRCS= kthr.c main.c trgt.c trgt_${TARGET_ARCH}.c WARNS?= 2 BULIBS= ${OBJ_BU}/libbfd/libbfd.a ${OBJ_BU}/libopcodes/libopcodes.a \ ==== //depot/projects/wifi/gnu/usr.bin/gdb/libgdb/Makefile#4 (text+ko) ==== @@ -1,4 +1,9 @@ -# $FreeBSD: src/gnu/usr.bin/gdb/libgdb/Makefile,v 1.5 2004/11/09 06:02:48 marcel Exp $ +# $FreeBSD: src/gnu/usr.bin/gdb/libgdb/Makefile,v 1.6 2004/11/30 05:12:37 marcel Exp $ + +TARGET_ARCH?= ${MACHINE_ARCH} +.if ${TARGET_ARCH} != ${MACHINE_ARCH} +GDB_CROSS_DEBUGGER= +.endif LIB= gdb INTERNALLIB= @@ -16,11 +21,11 @@ elfread.c environ.c eval.c event-loop.c event-top.c exec.c \ expprint.c \ f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \ - fork-child.c frame-base.c frame-unwind.c frame.c \ + ${_fork_child} frame-base.c frame-unwind.c frame.c \ gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \ hpacc-abi.c \ - inf-loop.c infcall.c infcmd.c inflow.c infptrace.c infrun.c \ - inftarg.c init.c interps.c \ + inf-loop.c infcall.c infcmd.c inflow.c ${_infptrace} infrun.c \ + ${_inftarg} init.c interps.c \ jv-exp.y jv-lang.c jv-typeprint.c jv-valprint.c \ kod-cisco.c kod.c \ language.c linespec.c \ @@ -47,12 +52,19 @@ valarith.c valops.c valprint.c values.c varobj.c \ wrapper.c ${LIBSRCS} -GENSRCS= version.c +TARGET_ARCH?= ${MACHINE_ARCH} +.if ${TARGET_ARCH} != ${MACHINE_ARCH} +GDB_CROSS_DEBUGGER= +.endif -.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" -LIBSRCS+= fbsd-threads.c +.if !defined(GDB_CROSS_DEBUGGER) +_fork_child= fork-child.c +_infptrace= infptrace.c +_inftarg= inftarg.c .endif +GENSRCS= version.c + version.c: echo '#include "version.h"' > ${.TARGET} echo 'const char version[] = ${VERSION};' >> ${.TARGET} ==== //depot/projects/wifi/lib/libarchive/archive_write_set_format_pax.c#4 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include "archive_platform.h" -__FBSDID("$FreeBSD: src/lib/libarchive/archive_write_set_format_pax.c,v 1.21 2004/11/15 01:46:33 kientzle Exp $"); +__FBSDID("$FreeBSD: src/lib/libarchive/archive_write_set_format_pax.c,v 1.23 2004/11/28 17:57:11 kientzle Exp $"); #include #include @@ -314,7 +314,8 @@ struct archive_entry *entry_main; const char *linkname, *p; const char *hardlink; - const wchar_t *wp, *wp2, *wname_start; + const wchar_t *wp, *wp2; + const char *suffix_start; int need_extension, r, ret; struct pax *pax; const struct stat *st_main, *st_original; @@ -368,11 +369,11 @@ */ wp = archive_entry_pathname_w(entry_main); p = archive_entry_pathname(entry_main); - if (wcslen(wp) <= 100) /* Short enough for just 'name' field */ - wname_start = wp; /* Record a zero-length prefix */ + if (strlen(p) <= 100) /* Short enough for just 'name' field */ + suffix_start = p; /* Record a zero-length prefix */ else /* Find the largest suffix that fits in 'name' field. */ - wname_start = wcschr(wp + wcslen(wp) - 100 - 1, '/'); + suffix_start = strchr(p + strlen(p) - 100 - 1, '/'); /* Find non-ASCII character, if any. */ wp2 = wp; @@ -383,8 +384,7 @@ * If name is too long, or has non-ASCII characters, add * 'path' to pax extended attrs. */ - if (wname_start == NULL || wname_start - wp > 155 || - *wp2 != L'\0') { + if (suffix_start == NULL || suffix_start - p > 155 || *wp2 != L'\0') { add_pax_attr_w(&(pax->pax_header), "path", wp); archive_entry_set_pathname(entry_main, build_ustar_entry_name(ustar_entry_name, p)); @@ -657,7 +657,7 @@ /* Note that the 'x' header shouldn't ever fail to format */ if (ret != 0) { - const char *msg = "archive_write_header_pax: " + const char *msg = "archive_write_pax_header: " "'x' header failed?! This can't happen.\n"; write(2, msg, strlen(msg)); exit(1); ==== //depot/projects/wifi/lib/libc/alpha/gen/divrem.m4#2 (text+ko) ==== @@ -1,5 +1,5 @@ /* $NetBSD: divrem.m4,v 1.7 1996/10/17 03:08:04 cgd Exp $ */ -/* $FreeBSD: src/lib/libc/alpha/gen/divrem.m4,v 1.3 2000/05/10 19:04:57 obrien Exp $ */ +/* $FreeBSD: src/lib/libc/alpha/gen/divrem.m4,v 1.4 2004/11/27 20:59:49 peadar Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -172,7 +172,7 @@ ifelse(S, `true', ` /* Check to see if we should negate it. */ - subqv zero, RESULT, T_0 + subq zero, RESULT, T_0 cmovlbs NEG, T_0, RESULT ') ==== //depot/projects/wifi/lib/libc/sys/mount.2#2 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)mount.2 8.3 (Berkeley) 5/24/95 -.\" $FreeBSD: src/lib/libc/sys/mount.2,v 1.40 2004/08/13 14:33:03 roam Exp $ +.\" $FreeBSD: src/lib/libc/sys/mount.2,v 1.41 2004/11/29 09:56:12 ru Exp $ .\" -.Dd August 13, 2004 +.Dd November 26, 2004 .Dt MOUNT 2 .Os .Sh NAME @@ -130,9 +130,6 @@ This flag is set automatically when the caller is not the super-user. .It Dv MNT_NOATIME Disable update of file access times. -.It Dv MNT_NODEV -Do not interpret special files on the file system. -This flag is set automatically when the caller is not the super-user. .It Dv MNT_SNAPSHOT Create a snapshot of the file system. This is currently only supported on UFS2 file systems, see ==== //depot/projects/wifi/lib/libc/sys/statfs.2#2 (text+ko) ==== @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)statfs.2 8.5 (Berkeley) 5/24/95 -.\" $FreeBSD: src/lib/libc/sys/statfs.2,v 1.25 2004/07/20 19:30:57 csjp Exp $ +.\" $FreeBSD: src/lib/libc/sys/statfs.2,v 1.26 2004/11/29 09:56:12 ru Exp $ .\" -.Dd November 16, 2003 +.Dd November 26, 2004 .Dt STATFS 2 .Os .Sh NAME @@ -108,8 +108,6 @@ Files may not be executed from the file system. .It Dv MNT_NOSUID Setuid and setgid bits on files are not honored when they are executed. -.It Dv MNT_NODEV -Special files in the file system may not be opened. .It Dv MNT_SYNCHRONOUS All I/O to the file system is done synchronously. .It Dv MNT_ASYNC ==== //depot/projects/wifi/sbin/devd/devd.8#2 (text+ko) ==== @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/sbin/devd/devd.8,v 1.12 2004/07/07 19:57:14 ru Exp $ +.\" $FreeBSD: src/sbin/devd/devd.8,v 1.13 2004/11/28 17:44:22 ceri Exp $ .\" .Dd October 17, 2002 .Dt DEVD 8 @@ -103,7 +103,9 @@ .Ic options section, one can define multiple directories to search for config files. -All files in each of these directories are parsed. +All files in these directories whose names match the patten +.Pa *.conf +are parsed. These files are intended to be installed by third party vendors that wish to hook into the .Nm ==== //depot/projects/wifi/sbin/mount/mntopts.h#3 (text+ko) ==== @@ -27,7 +27,7 @@ * SUCH DAMAGE. * * @(#)mntopts.h 8.7 (Berkeley) 3/29/95 - * $FreeBSD: src/sbin/mount/mntopts.h,v 1.22 2004/11/25 13:31:46 phk Exp $ + * $FreeBSD: src/sbin/mount/mntopts.h,v 1.24 2004/11/30 19:36:40 ru Exp $ */ struct mntopt { ==== //depot/projects/wifi/sbin/mount/mount.8#2 (text+ko) ==== @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 -.\" $FreeBSD: src/sbin/mount/mount.8,v 1.68 2004/05/17 08:35:42 ru Exp $ +.\" $FreeBSD: src/sbin/mount/mount.8,v 1.69 2004/11/29 09:35:01 ru Exp $ .\" -.Dd April 7, 2003 +.Dd November 26, 2004 .Dt MOUNT 8 .Os .Sh NAME @@ -177,12 +177,6 @@ Disable read clustering. .It Cm noclusterw Disable write clustering. -.It Cm nodev -Do not interpret character or block special devices on the file system. -This option is useful for a server that has file systems containing -special devices for architectures other than its own. -This option is set automatically when the user does not have super-user -privileges. .It Cm noexec Do not allow execution of any binaries on the mounted file system. This option is useful for a server that has file systems containing ==== //depot/projects/wifi/sbin/mount/mount.c#2 (text+ko) ==== @@ -38,7 +38,7 @@ static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95"; #endif static const char rcsid[] = - "$FreeBSD: src/sbin/mount/mount.c,v 1.66 2004/04/26 15:13:45 bmilekic Exp $"; + "$FreeBSD: src/sbin/mount/mount.c,v 1.67 2004/11/29 09:35:01 ru Exp $"; #endif /* not lint */ #include @@ -93,7 +93,6 @@ { MNT_EXPORTED, "NFS exported" }, { MNT_LOCAL, "local" }, { MNT_NOATIME, "noatime" }, - { MNT_NODEV, "nodev" }, { MNT_NOEXEC, "noexec" }, { MNT_NOSUID, "nosuid" }, { MNT_NOSYMFOLLOW, "nosymfollow" }, @@ -750,7 +749,6 @@ if (flags & MNT_SYNCHRONOUS) res = catopt(res, "sync"); if (flags & MNT_NOEXEC) res = catopt(res, "noexec"); if (flags & MNT_NOSUID) res = catopt(res, "nosuid"); - if (flags & MNT_NODEV) res = catopt(res, "nodev"); if (flags & MNT_UNION) res = catopt(res, "union"); if (flags & MNT_ASYNC) res = catopt(res, "async"); if (flags & MNT_NOATIME) res = catopt(res, "noatime"); ==== //depot/projects/wifi/sbin/mount_std/mount_std.8#2 (text+ko) ==== @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/sbin/mount_std/mount_std.8,v 1.22 2004/07/02 21:45:04 ru Exp $ +.\" $FreeBSD: src/sbin/mount_std/mount_std.8,v 1.23 2004/11/29 09:35:01 ru Exp $ .\" -.Dd May 13, 1996 +.Dd November 26, 2004 .Dt MOUNT_STD 8 .Os .Sh NAME @@ -70,7 +70,6 @@ options .Dq ro , .Dq rw , -.Dq nodev , .Dq noexec , .Dq nosuid , and ==== //depot/projects/wifi/sbin/sconfig/sconfig.8#2 (text+ko) ==== @@ -10,7 +10,7 @@ .\" as long as this message is kept with the software, all derivative .\" works or modified versions. .\" -.\" $FreeBSD: src/sbin/sconfig/sconfig.8,v 1.5 2004/05/20 16:40:06 ru Exp $ +.\" $FreeBSD: src/sbin/sconfig/sconfig.8,v 1.6 2004/11/29 15:32:31 rik Exp $ .Dd May 19, 2004 .Dt SCONFIG 8 i386 .Os @@ -572,7 +572,7 @@ .Xr sppp 4 , .Xr ifconfig 8 , .Xr route 8 , -.Xr spppconrol 8 +.Xr spppcontrol 8 .\"-------------------------------------------------------------- .Sh HISTORY This utility is a replacement for the ==== //depot/projects/wifi/share/man/man4/Makefile#7 (text+ko) ==== @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/18/93 -# $FreeBSD: src/share/man/man4/Makefile,v 1.295 2004/11/27 13:49:27 simon Exp $ +# $FreeBSD: src/share/man/man4/Makefile,v 1.296 2004/11/30 16:16:34 brueffer Exp $ MAN= aac.4 \ acpi.4 \ @@ -361,6 +361,7 @@ MLINKS+=bge.4 if_bge.4 MLINKS+=bktr.4 brooktree.4 MLINKS+=cnw.4 if_cnw.4 +MLINKS+=crypto.4 cryptodev.4 MLINKS+=cue.4 if_cue.4 MLINKS+=dc.4 if_dc.4 MLINKS+=de.4 if_de.4 ==== //depot/projects/wifi/share/man/man4/smp.4#2 (text+ko) ==== @@ -21,7 +21,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man4/smp.4,v 1.19 2004/06/16 08:33:54 ru Exp $ +.\" $FreeBSD: src/share/man/man4/smp.4,v 1.20 2004/11/29 19:51:50 ceri Exp $ .\" .Dd December 5, 2002 .Dt SMP 4 @@ -39,7 +39,7 @@ Support for multi-processor systems is present for all Tier-1 architectures on .Fx . -Currently, this includes alpha, i386, ia64, and sparc64. +Currently, this includes alpha, amd64, i386, ia64, and sparc64. Support is enabled using .Cd options SMP . It is permissible to use the SMP kernel configuration on non-SMP equipped ==== //depot/projects/wifi/share/man/man7/security.7#2 (text+ko) ==== @@ -21,9 +21,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/share/man/man7/security.7,v 1.39 2004/08/07 04:40:20 imp Exp $ +.\" $FreeBSD: src/share/man/man7/security.7,v 1.40 2004/11/29 09:56:12 ru Exp $ .\" -.Dd September 18, 1999 +.Dd November 29, 2004 .Dt SECURITY 7 .Os .Sh NAME @@ -630,16 +630,14 @@ If you have a huge amount of user disk space it may take too long to run through every file on those partitions. In this case, setting mount -flags to disallow SUID binaries and devices on those partitions is a good +flags to disallow SUID binaries on those partitions is a good idea. The -.Cm nodev -and .Cm nosuid -options +option (see .Xr mount 8 ) -are what you want to look into. +is what you want to look into. I would scan them anyway at least once a week, since the object of this layer is to detect a break-in whether or not the break-in is effective. ==== //depot/projects/wifi/share/man/man9/vfs_mount.9#2 (text+ko) ==== @@ -24,9 +24,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH .\" DAMAGE. .\" -.\" $FreeBSD: src/share/man/man9/vfs_mount.9,v 1.11 2003/10/23 06:17:12 hmp Exp $ +.\" $FreeBSD: src/share/man/man9/vfs_mount.9,v 1.12 2004/11/29 09:56:12 ru Exp $ .\" -.Dd July 8, 2001 +.Dd November 26, 2004 .Dt VFS_MOUNT 9 .Os .Sh NAME @@ -70,7 +70,7 @@ .Xr mount 2 for details. .Pp -.Dv MNT_EXPORTED , MNT_NOSUID , MNT_NODEV , MNT_UPDATE , MNT_RELOAD , +.Dv MNT_EXPORTED , MNT_NOSUID , MNT_UPDATE , MNT_RELOAD , .Dv MNT_FORCE , MNT_ASYNC , MNT_SYNCHRONOUS , MNT_UNION , MNT_NOATIME , .Dv MNT_SNAPSHOT , MNT_NOCLUSTERR , MNT_NOCLUSTERW , MNT_IGNORE , .Dv MNT_UNION , MNT_NOSYMFOLLOW ==== //depot/projects/wifi/sys/alpha/alpha/divrem.m4#2 (text+ko) ==== @@ -1,4 +1,4 @@ -/* $FreeBSD: src/sys/alpha/alpha/divrem.m4,v 1.3 2000/05/01 20:17:45 peter Exp $ */ +/* $FreeBSD: src/sys/alpha/alpha/divrem.m4,v 1.4 2004/11/27 20:59:49 peadar Exp $ */ /* $NetBSD: divrem.m4,v 1.5 1996/10/17 04:26:25 cgd Exp $ */ /* @@ -172,7 +172,7 @@ ifelse(S, `true', ` /* Check to see if we should negate it. */ - subqv zero, RESULT, T_0 + subq zero, RESULT, T_0 cmovlbs NEG, T_0, RESULT ') ==== //depot/projects/wifi/sys/amd64/amd64/busdma_machdep.c#5 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/busdma_machdep.c,v 1.63 2004/11/21 06:28:09 scottl Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/busdma_machdep.c,v 1.64 2004/11/29 14:49:27 scottl Exp $"); #include #include @@ -277,7 +277,7 @@ } if (newtag->lowaddr < ptoa((vm_paddr_t)Maxmem) - || newtag->alignment > 1 || newtag->boundary > 0) + || newtag->alignment > 1) newtag->flags |= BUS_DMA_COULD_BOUNCE; if (((newtag->flags & BUS_DMA_COULD_BOUNCE) != 0) && ==== //depot/projects/wifi/sys/amd64/amd64/gdb_machdep.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/gdb_machdep.c,v 1.1 2004/07/10 17:47:20 marcel Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/gdb_machdep.c,v 1.2 2004/11/30 00:55:49 peter Exp $"); #include #include @@ -36,39 +36,46 @@ #include #include +#include #include #include #include +#include +#include #include void * gdb_cpu_getreg(int regnum, size_t *regsz) { - struct trapframe *tf = kdb_frame; *regsz = gdb_cpu_regsz(regnum); + + if (kdb_thread == curthread) { + switch (regnum) { + case 0: return (&kdb_frame->tf_rax); + case 2: return (&kdb_frame->tf_rcx); + case 3: return (&kdb_frame->tf_rdx); + case 4: return (&kdb_frame->tf_rsi); + case 5: return (&kdb_frame->tf_rdi); + case 8: return (&kdb_frame->tf_r8); + case 9: return (&kdb_frame->tf_r9); + case 10: return (&kdb_frame->tf_r10); + case 11: return (&kdb_frame->tf_r11); + case 18: return (&kdb_frame->tf_cs); + case 19: return (&kdb_frame->tf_ss); + } + } switch (regnum) { - case 0: return (&tf->tf_rax); - case 1: return (&tf->tf_rbx); - case 2: return (&tf->tf_rcx); - case 3: return (&tf->tf_rdx); - case 4: return (&tf->tf_rsi); - case 5: return (&tf->tf_rdi); - case 6: return (&tf->tf_rbp); - case 7: return (&tf->tf_rsp); - case 8: return (&tf->tf_r8); - case 9: return (&tf->tf_r9); - case 10: return (&tf->tf_r10); - case 11: return (&tf->tf_r11); - case 12: return (&tf->tf_r12); - case 13: return (&tf->tf_r13); - case 14: return (&tf->tf_r14); - case 15: return (&tf->tf_r15); - case 16: return (&tf->tf_rip); - case 17: return (&tf->tf_rflags); - case 18: return (&tf->tf_cs); - case 19: return (&tf->tf_ss); + case 1: return (&kdb_thrctx->pcb_rbx); + case 6: return (&kdb_thrctx->pcb_rbp); + case 7: return (&kdb_thrctx->pcb_rsp); + case 12: return (&kdb_thrctx->pcb_r12); + case 13: return (&kdb_thrctx->pcb_r13); + case 14: return (&kdb_thrctx->pcb_r14); + case 15: return (&kdb_thrctx->pcb_r15); + case 16: return (&kdb_thrctx->pcb_rip); + case 17: return (&kdb_thrctx->pcb_rflags); } return (NULL); } @@ -76,9 +83,12 @@ void gdb_cpu_setreg(int regnum, register_t val) { - struct trapframe *tf = kdb_frame; + val = __bswap64(val); switch (regnum) { - case GDB_REG_PC: tf->tf_rip = val; break; + case GDB_REG_PC: + kdb_thrctx->pcb_rip = val; + if (kdb_thread == curthread) + kdb_frame->tf_rip = val; } } ==== //depot/projects/wifi/sys/amd64/amd64/machdep.c#5 (text+ko) ==== @@ -39,7 +39,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/amd64/amd64/machdep.c,v 1.624 2004/11/27 06:51:32 das Exp $"); +__FBSDID("$FreeBSD: src/sys/amd64/amd64/machdep.c,v 1.625 2004/11/29 23:27:07 peter Exp $"); #include "opt_atalk.h" #include "opt_atpic.h" @@ -589,8 +589,7 @@ * CR0_MP, CR0_NE and CR0_TS are also set by npx_probe() for the * BSP. See the comments there about why we set them. */ - cr0 |= CR0_MP | CR0_NE | CR0_TS; - cr0 |= CR0_WP | CR0_AM; + cr0 |= CR0_MP | CR0_NE | CR0_TS | CR0_WP | CR0_AM; load_cr0(cr0); } ==== //depot/projects/wifi/sys/amd64/amd64/vm_machdep.c#3 (text+ko) ==== @@ -41,7 +41,7 @@ */ >>> TRUNCATED FOR MAIL (1000 lines) <<<