freebsd-dev/sys/alpha/alpha
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
..
api_up1000.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
atomic.s
autoconf.c Move a relic to its correct location(s): Put nfs diskless initialization 2004-07-28 21:54:57 +00:00
busdma_machdep.c Fix a problem with tag->boundary inheritence that has existed since day one 2004-09-08 04:54:19 +00:00
busspace.c
clock_if.m
clock.c Make the alpha timecounter preferable to the i8254. 2004-09-07 07:06:36 +00:00
cpuconf.c
critical.c
db_disasm.c Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
db_instruction.h Convert to __FBSDID. 2004-01-04 23:30:47 +00:00
db_interface.c Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
db_trace.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
dec_1000a.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_2100_a50.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_2100_a500.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_3000_300.c
dec_3000_500.c
dec_axppci_33.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_eb64plus.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_eb164.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_kn8ae.c
dec_kn20aa.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_kn300.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_st550.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
dec_st6600.c Update for the KDB framework. Sanitize the alpha console code now that 2004-07-10 22:29:41 +00:00
divrem.m4 When required to negate the absoulte result of a division/remainder 2004-11-27 20:59:49 +00:00
dump_machdep.c Catch a few places where NULL (pointer) was used where 0 (integer) was 2003-12-23 02:36:43 +00:00
elf_machdep.c Add __elfN(dump_thread). This function is called from __elfN(coredump) 2004-08-11 02:35:06 +00:00
exception.s
fp_emulate.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
gdb_machdep.c Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
genassym.c user.h is included only to get pcb.h, so use the latter directly instead. 2004-11-20 02:28:14 +00:00
ieee_float.c When a denormal underflows to zero, raise an underflow exception. 2004-05-06 09:36:11 +00:00
ieee_float.h
in_cksum.c
interrupt.c Fix a cpuid mismatch from the recent cpuid rototill in Alpha: boot_cpu_id 2004-11-23 22:11:53 +00:00
locore.s
machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
mem.c Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
mp_machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pal.s
pmap.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
prom_disp.s
prom.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
promcons.c Fix a typo so that this compiles. 2004-10-20 16:22:53 +00:00
sgmap.c Catch up with __RMAN_RESOURCE_VISIBLE enough to get GENERIC to build 2004-07-01 15:07:27 +00:00
support.s Remove filename+line number from panic messages. 2004-06-06 21:26:49 +00:00
swtch.s
sys_machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
timerreg.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
trap.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
uio_machdep.c Remove checks for curthread == NULL - it can't happen. 2004-06-03 10:22:47 +00:00
uma_machdep.c Move uma_small_alloc() and uma_small_free() out of the pmap and into their 2004-06-11 19:55:56 +00:00
vm_machdep.c Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00