diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/varobj.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <muller@ics.u-strasbg.fr> + + * varobj.c (find_frame_addr_in_frame_chain): + Use get_frame_base instead of FRAME_FP, + obvious fix. + 2002-11-19 Andrew Cagney <ac131313@redhat.com> * 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; } } |