From: Pierre Muller Date: Sun, 24 Nov 2002 23:05:03 +0000 (+0000) Subject: 2002-11-24 Pierre Muller X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6abe1021c175b8dc8a1d5552a8b712aabccd52eb;p=binutils-gdb.git 2002-11-24 Pierre Muller * varobj.c (find_frame_addr_in_frame_chain): Use get_frame_base instead of FRAME_FP, obvious fix. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09bd2df104a..01715a8bc59 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-11-24 Pierre Muller + + * varobj.c (find_frame_addr_in_frame_chain): + Use get_frame_base instead of FRAME_FP, + obvious fix. + 2002-11-19 Andrew Cagney * frame.h (FRAME_FP): Delete macro. diff --git a/gdb/varobj.c b/gdb/varobj.c index 9b3e1506860..30f1c38c59c 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -412,7 +412,7 @@ find_frame_addr_in_frame_chain (CORE_ADDR frame_addr) frame = get_prev_frame (frame); if (frame == NULL) return NULL; - if (FRAME_FP (frame) == frame_addr) + if (get_frame_base (frame) == frame_addr) return frame; } }