OSDN Git Service

2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
authormuller <muller>
Sun, 24 Nov 2002 23:05:02 +0000 (23:05 +0000)
committermuller <muller>
Sun, 24 Nov 2002 23:05:02 +0000 (23:05 +0000)
* varobj.c (find_frame_addr_in_frame_chain):
Use get_frame_base instead of FRAME_FP,
obvious fix.

gdb/ChangeLog
gdb/varobj.c

index 09bd2df..01715a8 100644 (file)
@@ -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.
index 9b3e150..30f1c38 100644 (file)
@@ -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;
     }
 }