svn commit: r231980 - stable/9/gnu/usr.bin/gdb/kgdb

Konstantin Belousov kib at FreeBSD.org
Tue Feb 21 20:59:50 UTC 2012


Author: kib
Date: Tue Feb 21 20:59:49 2012
New Revision: 231980
URL: http://svn.freebsd.org/changeset/base/231980

Log:
  MFC r230427:
  Adopt to new layout of struct pcb.

Modified:
  stable/9/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Directory Properties:
  stable/9/gnu/usr.bin/gdb/kgdb/   (props changed)

Modified: stable/9/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
==============================================================================
--- stable/9/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Tue Feb 21 20:56:03 2012	(r231979)
+++ stable/9/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Tue Feb 21 20:59:49 2012	(r231980)
@@ -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


More information about the svn-src-stable-9 mailing list