mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
bcc5241c43
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 |
||
---|---|---|
.. | ||
pc | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
acpica_machdep.h | ||
apicreg.h | ||
apicvar.h | ||
apm_bios.h | ||
apm_segments.h | ||
asm.h | ||
asmacros.h | ||
atomic.h | ||
bootinfo.h | ||
bus_at386.h | ||
bus_dma.h | ||
bus_memio.h | ||
bus_pc98.h | ||
bus_pio.h | ||
bus.h | ||
clock.h | ||
comstats.h | ||
cpu.h | ||
cpufunc.h | ||
cputypes.h | ||
critical.h | ||
cserial.h | ||
db_machdep.h | ||
elan_mmcr.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
float.h | ||
floatingpoint.h | ||
frame.h | ||
gdb_machdep.h | ||
i4b_cause.h | ||
i4b_debug.h | ||
i4b_ioctl.h | ||
i4b_rbch_ioctl.h | ||
i4b_tel_ioctl.h | ||
i4b_trace.h | ||
ieeefp.h | ||
if_wl_wavelan.h | ||
in_cksum.h | ||
intr_machdep.h | ||
ioctl_bt848.h | ||
ioctl_meteor.h | ||
iodev.h | ||
kdb.h | ||
legacyvar.h | ||
limits.h | ||
md_var.h | ||
memdev.h | ||
metadata.h | ||
mp_watchdog.h | ||
mptable.h | ||
mtpr.h | ||
mutex.h | ||
npx.h | ||
param.h | ||
pcaudioio.h | ||
pcb_ext.h | ||
pcb.h | ||
pci_cfgreg.h | ||
pcpu.h | ||
pcvt_ioctl.h | ||
pecoff_machdep.h | ||
perfmon.h | ||
pmap.h | ||
privatespace.h | ||
proc.h | ||
profile.h | ||
psl.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
runq.h | ||
segments.h | ||
setjmp.h | ||
sf_buf.h | ||
sigframe.h | ||
signal.h | ||
smapi.h | ||
smp.h | ||
smptests.h | ||
speaker.h | ||
specialreg.h | ||
stdarg.h | ||
sysarch.h | ||
trap.h | ||
tss.h | ||
ucontext.h | ||
varargs.h | ||
vm86.h | ||
vmparam.h |