Adopt to new layout of struct pcb.

MFC after:	1 month
This commit is contained in:
Konstantin Belousov 2012-01-21 17:50:14 +00:00
parent 8c6f8f3d5b
commit f1c8f19055

View File

@ -66,7 +66,7 @@ kgdb_trgt_fetch_registers(int regno __unused)
supply_register(AMD64_R8_REGNUM + 6, (char *)&pcb.pcb_r14); supply_register(AMD64_R8_REGNUM + 6, (char *)&pcb.pcb_r14);
supply_register(AMD64_R15_REGNUM, (char *)&pcb.pcb_r15); supply_register(AMD64_R15_REGNUM, (char *)&pcb.pcb_r15);
supply_register(AMD64_RIP_REGNUM, (char *)&pcb.pcb_rip); 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 void