* i386obsd-nat.c (i386obsd_supply_pcb): Supply the right bytes for
the %eip register.
This commit is contained in:
parent
7b21ac3f45
commit
3979a37f37
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -78,7 +78,7 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue