diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-03 21:47:14 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-03 21:47:14 +0000 |
commit | 5816555bca33eea58ccdb47236743d2544e40054 (patch) | |
tree | c943f3f8835b416aff5c590f57fb58f2ab6eb637 /gdb | |
parent | 0d172a2ef470ff8fdb4d64e532ab6a6d92a07e1d (diff) | |
download | gdb-5816555bca33eea58ccdb47236743d2544e40054.zip gdb-5816555bca33eea58ccdb47236743d2544e40054.tar.gz gdb-5816555bca33eea58ccdb47236743d2544e40054.tar.bz2 |
* rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
store_address.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c451cae..398a985 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 8a21d54..d3056e8 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -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; |