freebsd-skq/sys/sparc64/include
marcel c106bd9120 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
..
_inttypes.h
_limits.h
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
asi.h
asm.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
asmacros.h Remove filename+line number from panic messages. 2004-06-06 21:26:49 +00:00
atomic.h Use unsigned types for the arguments of the atomic(9) operations, 2004-05-22 00:52:16 +00:00
bus_common.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
bus_memio.h
bus_pio.h
bus_private.h Retire BUS_DMAMAP_NSEGS for sparc64 2004-06-28 04:04:43 +00:00
bus.h Switch sparc64 busdma to use a dynamically allocated segment list rather 2004-06-28 03:49:13 +00:00
cache.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
ccr.h
clock.h
cpu.h Instead of calling ia32_pause() conditionally on __i386__ or __amd64__ 2004-08-03 18:44:27 +00:00
cpufunc.h Switch from BSD-style u_intXX_t to ISO C99 uintXX_t. 2004-05-22 00:47:26 +00:00
critical.h Pass a thread argument into cpu_critical_{enter,exit}() rather than 2004-07-27 16:41:01 +00:00
db_machdep.h Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
eeprom.h o Sync with the NetBSD mk48txx driver (the result simplyfies some changes 2004-11-17 12:54:12 +00:00
elf.h
endian.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
exec.h
float.h Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation 2004-04-25 02:36:29 +00:00
floatingpoint.h
fp.h
frame.h Remove obsolete prototype of kdb_trap(). 2004-07-10 23:05:38 +00:00
fsr.h
gdb_machdep.h Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
idprom.h
ieee.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
ieeefp.h
in_cksum.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
instr.h
intr_machdep.h
iommureg.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
iommuvar.h
kdb.h Introduce the KDB debugger frontend. The frontend provides a framework 2004-07-10 18:40:12 +00:00
kerneldump.h
ktr.h
limits.h
lsu.h
md_var.h
memdev.h Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
metadata.h
mutex.h
nexusvar.h Some cleanups to the nexus code: 2004-04-30 19:50:51 +00:00
ofw_bus.h Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
ofw_machdep.h - Make OF_getetheraddr() honour the "local-mac-address?" system config 2004-08-14 21:43:37 +00:00
ofw_mem.h
ofw_nexus.h
ofw_upa.h
param.h Remove UAREA_PAGES. 2004-11-20 02:29:50 +00:00
pcb.h Implement makectx(). The makectx() function is used by KDB to create 2004-07-10 19:56:00 +00:00
pcpu.h Move the per-CPU vmspace pointer fixup that is required before a 2004-05-26 12:06:52 +00:00
pmap.h Add pmap locking to many of the functions. 2004-08-10 20:53:26 +00:00
proc.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
profile.h Move the kernel-specific logic to adjust frompc from MI to MD. For 2004-08-27 19:42:35 +00:00
pstate.h
ptrace.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
reg.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
reloc.h
resource.h
runq.h
sc_machdep.h
setjmp.h
sf_buf.h
sigframe.h
signal.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
smp.h We seem to have occasions where sending an IPI takes significantly 2004-09-29 21:39:36 +00:00
stdarg.h
sysarch.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
tick.h
tlb.h
trap.h
tsb.h
tstate.h
tte.h
ucontext.h
upa.h
utrap.h
varargs.h
ver.h
vmparam.h
watch.h
wstate.h