* rs6000-tdep.c (push_dummy_frame): Fix order of arguments to

store_address.
This commit is contained in:
Jim Kingdon 1995-03-03 21:47:14 +00:00
parent 0d172a2ef4
commit 5816555bca
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Fri Mar 3 12:27:28 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
* rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
store_address.
* utils.c [_AIX]: Include stddef.h instead of #defining size_t.
Fri Mar 3 12:33:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>

View File

@ -353,7 +353,7 @@ push_dummy_frame ()
sp = read_register(SP_REGNUM);
pc = read_register(PC_REGNUM);
store_address (pc, 4, pc_targ);
store_address (pc_targ, 4, pc);
dummy_frame_addr [dummy_frame_count++] = sp;