From 5816555bca33eea58ccdb47236743d2544e40054 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 3 Mar 1995 21:47:14 +0000 Subject: [PATCH] * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to store_address. --- gdb/ChangeLog | 3 +++ gdb/rs6000-tdep.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- 2.30.2