freebsd-dev/sys
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
..
alpha Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
amd64 Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
arm Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
boot Remove the last vestiges of the userconfig option. None of this actually 2004-12-01 04:59:33 +00:00
cam Correct another location where inquiry length as calculated from the 2004-11-18 07:24:29 +00:00
coda Make VOP_BMAP return a struct bufobj for the underlying storage device 2004-11-15 09:18:27 +00:00
compat Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
conf It appears that 'kbd' device has never been used and isn't needed. 2004-11-23 00:00:43 +00:00
contrib fix a bug that leads to a crash when binat rules of the form 2004-11-24 00:43:34 +00:00
crypto Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 2004-11-16 20:42:32 +00:00
ddb When printing a stack trace for a thread, also print the pid and tid. 2004-11-23 23:11:47 +00:00
dev Completely back out 1.37. Something else is going on and John wants to 2004-12-01 05:49:26 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Ignore MNT_NODEV, it is implicit in choice of filesystem these days. 2004-11-26 07:37:42 +00:00
gdb Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
geom Add observations of the Linux98 and Grub/98 boot loaders. These 2004-11-30 09:40:11 +00:00
gnu Make VOP_BMAP return a struct bufobj for the underlying storage device 2004-11-15 09:18:27 +00:00
i4b Mark i4b IPR and SPPP drivers as NET_NEEDS_GIANT(), as they both 2004-10-12 09:25:52 +00:00
i386 Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
ia64 Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
isa Stop printing the VGA registers during verbose boot, in order to not 2004-11-03 09:07:44 +00:00
isofs/cd9660 Make VOP_BMAP return a struct bufobj for the underlying storage device 2004-11-15 09:18:27 +00:00
kern Remove the last vestiges of the userconfig option. None of this actually 2004-12-01 04:59:33 +00:00
libkern Use the RET macro. 2004-11-09 16:47:47 +00:00
modules Allow the gif module to be built without IPv6 support when NOINET6 is 2004-11-26 19:01:57 +00:00
net Implement the check I was talking about in the previous message already. 2004-11-30 22:38:37 +00:00
net80211 Add a new network interface flag, IFF_NEEDSGIANT, which will allow 2004-07-27 23:20:45 +00:00
netatalk Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
netatm Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
netgraph Move ng_socket and ng_btsocket initialization to SI_SUB_PROTO_DOMAIN as they 2004-11-30 22:28:50 +00:00
netinet Fixes a bug in SACK causing us to send data beyond the receive window. 2004-11-29 18:47:27 +00:00
netinet6 Reviewed by: SUZUKI Shinsuke <suz@kame.net> 2004-11-29 03:10:35 +00:00
netipsec Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
netipx Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
netkey support TCP-MD5(IPv4) in KAME-IPSEC, too. 2004-11-08 18:49:51 +00:00
netnatm Initialize struct pr_userreqs in new/sparse style and fill in common 2004-11-08 14:44:54 +00:00
netncp Add missing zero flag argument. 2004-10-12 08:22:08 +00:00
netsmb Don't use vn_todev(). 2004-11-10 07:16:59 +00:00
nfs
nfs4client Refuse attempts to mount root filesystem 2004-11-09 22:21:10 +00:00
nfsclient Fix for a bug in nfs_mkdir() that called vrele() instead of vput() 2004-11-29 23:05:30 +00:00
nfsserver Correct a bug in nfsrv_create() where a call to nfsrv_access() might 2004-11-11 21:30:52 +00:00
opencrypto Push Giant down through ioctl. 2004-11-17 09:09:55 +00:00
pc98 Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pccard Move PNP IDs back into oldcard files 2004-08-13 06:57:31 +00:00
pci Correct URL of the programming manual. 2004-11-17 23:36:11 +00:00
posix4
powerpc Create a new definition, PSL_KERNSET, which is used for setting the 2004-11-30 09:04:41 +00:00
rpc Prefer C99's __func__ over GCC's __FUNCTION__. 2004-09-23 18:25:46 +00:00
security Implement MAC entry points relating to System V IPC, calling into the 2004-11-17 13:14:24 +00:00
sparc64 Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
sys Remove the last vestiges of the userconfig option. None of this actually 2004-12-01 04:59:33 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Use system wide no-op vfs_start function. 2004-11-25 09:11:27 +00:00
vm Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00