mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
* config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
(STORE_RETURN_VAULE): Pass the correct offset of the return register to write_register_bytes. * hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
This commit is contained in:
parent
b7da78d561
commit
ed1a07ad1f
@ -1,3 +1,10 @@
|
|||||||
|
Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
|
||||||
|
(STORE_RETURN_VAULE): Pass the correct offset of the return
|
||||||
|
register to write_register_bytes.
|
||||||
|
* hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
|
||||||
|
|
||||||
Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
Tue Sep 7 14:30:34 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
|
* config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
|
||||||
|
@ -689,10 +689,15 @@ hppa_pop_frame ()
|
|||||||
write_register (SAR_REGNUM,
|
write_register (SAR_REGNUM,
|
||||||
read_memory_integer (fsr.regs[SAR_REGNUM], 4));
|
read_memory_integer (fsr.regs[SAR_REGNUM], 4));
|
||||||
|
|
||||||
|
/* If the PC was explicitly saved, then just restore it. */
|
||||||
if (fsr.regs[PCOQ_TAIL_REGNUM])
|
if (fsr.regs[PCOQ_TAIL_REGNUM])
|
||||||
write_register (PCOQ_TAIL_REGNUM,
|
write_register (PCOQ_TAIL_REGNUM,
|
||||||
read_memory_integer (fsr.regs[PCOQ_TAIL_REGNUM], 4));
|
read_memory_integer (fsr.regs[PCOQ_TAIL_REGNUM], 4));
|
||||||
|
|
||||||
|
/* Else use the value in %rp to set the new PC. */
|
||||||
|
else
|
||||||
|
target_write_pc (read_register (RP_REGNUM));
|
||||||
|
|
||||||
write_register (FP_REGNUM, read_memory_integer (fp, 4));
|
write_register (FP_REGNUM, read_memory_integer (fp, 4));
|
||||||
|
|
||||||
if (fsr.regs[IPSW_REGNUM]) /* call dummy */
|
if (fsr.regs[IPSW_REGNUM]) /* call dummy */
|
||||||
|
Loading…
Reference in New Issue
Block a user