mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
* i386obsd-nat.c (i386obsd_supply_pcb): Supply the right bytes for
the %eip register.
This commit is contained in:
@ -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>
|
2008-08-08 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* Makefile.in (python.o): Remove dependencies. Use COMPILE and
|
* 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_esp = pcb->pcb_ebp;
|
||||||
pcb->pcb_ebp = read_memory_integer(pcb->pcb_esp, 4);
|
pcb->pcb_ebp = read_memory_integer(pcb->pcb_esp, 4);
|
||||||
sf.sf_eip = read_memory_integer(pcb->pcb_esp + 4, 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);
|
regcache_raw_supply (regcache, I386_EBP_REGNUM, &pcb->pcb_ebp);
|
||||||
|
Reference in New Issue
Block a user