diff options
Diffstat (limited to 'gdb/i386obsd-nat.c')
-rw-r--r-- | gdb/i386obsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c index f4d07fe..a0b0808 100644 --- a/gdb/i386obsd-nat.c +++ b/gdb/i386obsd-nat.c @@ -64,7 +64,7 @@ i386obsd_supply_pcb (struct regcache *regcache, struct pcb *pcb) if ((pcb->pcb_flags & PCB_SAVECTX) == 0) { /* Yes, we have a frame that matches cpu_switch(). */ - read_memory (pcb->pcb_esp, (char *) &sf, sizeof sf); + read_memory (pcb->pcb_esp, (gdb_byte *) &sf, sizeof sf); pcb->pcb_esp += sizeof (struct switchframe); regcache_raw_supply (regcache, I386_EDI_REGNUM, &sf.sf_edi); regcache_raw_supply (regcache, I386_ESI_REGNUM, &sf.sf_esi); |