1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/alpha/include
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
..
pc Remove atdevbase and replace it's remaining uses with direct references to 2004-06-10 20:31:00 +00:00
_inttypes.h Since printf(3) now supports the `j' conversion specifier, use that 2002-06-30 05:48:03 +00:00
_limits.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
_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 Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
alpha_cpu.h Implement alpha_pal_wrunique() and alpha_pal_rdunique(). Both are 2003-07-24 07:41:08 +00:00
asm.h Protect against multiple inclusions. 2003-01-18 23:43:12 +00:00
atomic.h The previous commit, roughly one and a half years ago removed the 2004-09-10 05:00:27 +00:00
bootinfo.h
bus_memio.h
bus_pio.h
bus.h Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in 2003-11-07 23:29:42 +00:00
bwx.h
chipset.h
clock.h
clockvar.h
cpu.h Provide extern declarations for btext and etext when GPROF is defined. 2004-08-27 19:20:42 +00:00
cpuconf.h
cpufunc.h
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
elf.h Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
endian.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +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
fpu.h Don't clear the exception flags after we finish emulating a 2004-05-06 09:35:57 +00:00
frame.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
ieee.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
ieeefp.h
in_cksum.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
inst.h
intr.h Widen the enable/disable helper function's argument in line with the 2003-11-17 06:10:15 +00:00
intrcnt.h
ioctl_bt848.h Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr 2003-12-08 07:22:42 +00:00
ioctl_meteor.h Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktr 2003-12-08 07:22:42 +00:00
kdb.h Introduce the KDB debugger frontend. The frontend provides a framework 2004-07-10 18:40:12 +00:00
limits.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
md_var.h Cleanup <machine/cpu.h> by moving MD prototypes to <machine/md_var.h> 2003-08-17 06:42:08 +00:00
memdev.h Remove extraneous ';'. 2004-08-01 18:51:44 +00:00
mutex.h
pal.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 - Add a new MD per-CPU field for Alpha 'pal_id' which is the PAL ID 2004-11-05 19:16:44 +00:00
pmap.h - Eliminate the pte object from the pmap. Instead, page table pages are 2004-07-19 18:12:04 +00:00
proc.h Protect the per-process UAC field with the proc lock where it isn't already 2003-04-17 21:57:16 +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
prom.h Change the console interface to pass a "struct consdev *" instead of a 2003-02-20 20:54:45 +00:00
pte.h
ptrace.h Rev 1.24 of sys/ptrace.h adds ptrace_clear_single_step() prototype 2004-07-13 16:11:04 +00:00
reg.h Renamed poorly named setregs to exec_setregs. Moved its prototype to 2002-08-29 06:17:48 +00:00
reloc.h
resource.h
rpb.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
setjmp.h Fix namespace issues by using visibility conditionals from 2002-10-05 05:47:56 +00:00
sf_buf.h MFamd64 2004-04-18 06:24:51 +00:00
sgmap.h
sigframe.h Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
signal.h Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
smp.h - Add a new MD per-CPU field for Alpha 'pal_id' which is the PAL ID 2004-11-05 19:16:44 +00:00
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
swiz.h
sysarch.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
ucontext.h Use a spare for the thread pointer (mc_thrptr). The thread pointer 2003-07-24 07:34:31 +00:00
varargs.h Standardize idempotentcy ifdefs. Consistently use _MACHINE_VARARGS_H_ 2003-09-01 03:01:45 +00:00
vmparam.h Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00