diff options
author | jkim <jkim@FreeBSD.org> | 2010-08-02 17:40:25 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-08-02 17:40:25 +0000 |
commit | 35e00f225e5cf3c29f617de8c1aec3a4cf2454ce (patch) | |
tree | 9cbc41b4afc6d2dba6cc5b737bc495f8a9b0b0eb /gnu/usr.bin/gdb/kgdb | |
parent | 79a57d111a564cdef116d6cf2c34b1842377129d (diff) | |
download | FreeBSD-src-35e00f225e5cf3c29f617de8c1aec3a4cf2454ce.zip FreeBSD-src-35e00f225e5cf3c29f617de8c1aec3a4cf2454ce.tar.gz |
Give kgdb(1) a chance to take a look at FPU state.
Diffstat (limited to 'gnu/usr.bin/gdb/kgdb')
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/trgt_amd64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_amd64.c b/gnu/usr.bin/gdb/kgdb/trgt_amd64.c index 6f30c90..dab41f9 100644 --- a/gnu/usr.bin/gdb/kgdb/trgt_amd64.c +++ b/gnu/usr.bin/gdb/kgdb/trgt_amd64.c @@ -66,6 +66,7 @@ kgdb_trgt_fetch_registers(int regno __unused) supply_register(AMD64_R8_REGNUM + 6, (char *)&pcb.pcb_r14); supply_register(AMD64_R15_REGNUM, (char *)&pcb.pcb_r15); supply_register(AMD64_RIP_REGNUM, (char *)&pcb.pcb_rip); + amd64_supply_fxsave(current_regcache, -1, &pcb.pcb_user_save); } void |