From: Jim Kingdon Date: Fri, 3 Mar 1995 21:47:14 +0000 (+0000) Subject: * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5816555bca33eea58ccdb47236743d2544e40054;p=binutils-gdb.git * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to store_address. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c451caeb34d..398a985b7b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Mar 3 12:27:28 1995 Jim Kingdon + * 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 diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 8a21d54fb15..d3056e89c50 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;