From 34a1a3bf4843277ba221eeaaa6ea21671216696d Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 4 Nov 1994 18:55:51 +0000 Subject: [PATCH] * rs6000-tdep.c (pop_frame): Correct a variable name. --- gdb/ChangeLog | 4 ++++ gdb/rs6000-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 81d7d4c1b09..57e21297c35 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 4 10:52:38 1994 Stan Shebs (shebs@andros.cygnus.com) + + * rs6000-tdep.c (pop_frame): Correct a variable name. + Fri Nov 4 05:43:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * TODO: Re-write item about SIGINT handling to reflect the fact diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 76bbcf6b0f3..46cf8f75c2c 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -473,7 +473,7 @@ pop_frame () still in the link register, otherwise walk the frames and retrieve the saved %pc value in the previous frame. */ - addr = get_pc_function_start (fr->pc) + FUNCTION_START_OFFSET; + addr = get_pc_function_start (frame->pc) + FUNCTION_START_OFFSET; function_frame_info (addr, &fdata); if (fdata.frameless) -- 2.30.2