FreeBSD src
Go to file
Marcel Moolenaar bcc5241c43 Change gdb_cpu_setreg() to not take the value to which to set the
specified register, but a pointer to the in-memory representation of
that value. The reason for this is twofold:
1. Not all registers can be represented by a register_t. In particular
   FP registers fall in that category. Passing the new register value
   by reference instead of by value makes this point moot.
2. When we receive a G or P packet, both are for writing a register,
   the packet will have the register value in target-byte order and
   in the memory representation (modulo the fact that bytes are sent
   as 2 printable hexadecimal numbers of course). We only need to
   decode the packet to have a pointer to the register value.

This change fixes the bug of extracting the register value of the P
packet as a hexadecimal number instead of as a bit array. The quick
(and dirty) fix to bswap the register value in gdb_cpu_setreg() as
it has been added on i386 and amd64 can therefore be removed and has
in fact been that.

Tested on: alpha, amd64, i386, ia64, sparc64
2004-12-01 06:40:35 +00:00
bin Point at the mac(4) man page when describing the -Z option. 2004-11-29 12:00:24 +00:00
contrib Fix a reference from pool(9) -> zone(9), but keep on talking about "memory 2004-11-14 17:05:54 +00:00
crypto Better Xlist command line. 2004-10-28 16:13:28 +00:00
etc Move the purely device-name based entries for mice and ethernet 2004-11-28 23:16:00 +00:00
games The Ken Thompson school of thought on expert systems: 2004-11-27 08:28:58 +00:00
gnu Makefile (only) changes to allow building a cross debugger. 2004-11-30 05:12:37 +00:00
include Fixed transition from SHARED=symlinks to SHARED=copies. 2004-11-17 23:48:17 +00:00
kerberos5 Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
lib MNT_NODEV is deprecated. 2004-11-29 09:56:12 +00:00
libexec Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld as 2004-11-23 16:32:34 +00:00
release Auto generate device listings for the snd_ich(4) driver. 2004-11-27 13:57:22 +00:00
rescue Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. 2004-11-13 20:40:32 +00:00
sbin Revert last change. It doesn't break mount(8) reporting 2004-11-30 19:36:40 +00:00
secure Update for OpenSSH 3.9p1. 2004-10-28 16:04:23 +00:00
share MLINK crypto.4 to cryptodev.4 2004-11-30 16:16:34 +00:00
sys Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
tools Chmod the shell testscript to be executable if it isn't already. According 2004-11-30 15:33:18 +00:00
usr.bin Stylification: missing spaces, extra space after function names, casts 2004-11-30 17:46:29 +00:00
usr.sbin Send NAS-IP-Address as well as NAS-Identifier 2004-11-29 17:11:15 +00:00
COPYRIGHT Update the COPYRIGHT file to include FreeBSD's compilation copyright 2003-12-31 22:35:22 +00:00
installworld_newk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
installworld_oldk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
MAINTAINERS add myself as the contact for the pkg_install tools 2004-11-30 20:04:47 +00:00
Makefile Convert tools/lib32/build.sh into world connectable hooks. This still 2004-11-06 03:14:26 +00:00
Makefile.inc1 Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR} 2004-11-23 09:09:47 +00:00
README
UPDATING Add a note about 80386 support being removed from HEAD. 2004-11-16 21:18:41 +00:00
UPDATING.64BTT Add a tip for people who are using database-related ports on a sparc64 2004-03-17 01:59:47 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html