Date: Sat, 21 Jan 2012 17:50:14 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r230427 - head/gnu/usr.bin/gdb/kgdb Message-ID: <201201211750.q0LHoEY6002631@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Jan 21 17:50:14 2012 New Revision: 230427 URL: http://svn.freebsd.org/changeset/base/230427 Log: Adopt to new layout of struct pcb. MFC after: 1 month Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c ============================================================================== --- head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c Sat Jan 21 17:45:27 2012 (r230426) +++ head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c Sat Jan 21 17:50:14 2012 (r230427) @@ -66,7 +66,7 @@ kgdb_trgt_fetch_registers(int regno __un 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201211750.q0LHoEY6002631>