diff options
author | kib <kib@FreeBSD.org> | 2012-01-21 17:50:14 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-01-21 17:50:14 +0000 |
commit | 3572bdc783bebdf33330a1218e74826c4096ae81 (patch) | |
tree | 2067bf2d003d3058adedab76e18e755193446641 /gnu | |
parent | 361bfae5c2c758540993427b5fd4d32422b143d4 (diff) | |
download | FreeBSD-src-3572bdc783bebdf33330a1218e74826c4096ae81.zip FreeBSD-src-3572bdc783bebdf33330a1218e74826c4096ae81.tar.gz |
Adopt to new layout of struct pcb.
MFC after: 1 month
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/trgt_amd64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_amd64.c b/gnu/usr.bin/gdb/kgdb/trgt_amd64.c index dab41f9..cdab775 100644 --- a/gnu/usr.bin/gdb/kgdb/trgt_amd64.c +++ b/gnu/usr.bin/gdb/kgdb/trgt_amd64.c @@ -66,7 +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); + amd64_supply_fxsave(current_regcache, -1, (struct fpusave *)(&pcb + 1)); } void |