2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Sun, 24 Nov 2002 23:05:03 +0000 (23:05 +0000)
committerPierre Muller <muller@sourceware.org>
Sun, 24 Nov 2002 23:05:03 +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 09bd2df104a8ed8aa7598087847d9a6b6c4d6299..01715a8bc59820ad3fa03340532f459fd8016e98 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 9b3e1506860a772bd1412c058927261cfd982604..30f1c38c59ccc467dad157989e6c3e1c210b4606 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;
     }
 }