+2008-08-09 Mark Kettenis <kettenis@gnu.org>
+
+ * i386obsd-nat.c (i386obsd_supply_pcb): Supply the right bytes for
+ the %eip register.
+
2008-08-08 Tom Tromey <tromey@redhat.com>
* Makefile.in (python.o): Remove dependencies. Use COMPILE and
pcb->pcb_esp = pcb->pcb_ebp;
pcb->pcb_ebp = read_memory_integer(pcb->pcb_esp, 4);
sf.sf_eip = read_memory_integer(pcb->pcb_esp + 4, 4);
- regcache_raw_supply (regcache, I386_EIP_REGNUM, &sf);
+ regcache_raw_supply (regcache, I386_EIP_REGNUM, &sf.sf_eip);
}
regcache_raw_supply (regcache, I386_EBP_REGNUM, &pcb->pcb_ebp);