2003-04-21 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 21 Apr 2003 19:34:02 +0000 (19:34 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 21 Apr 2003 19:34:02 +0000 (19:34 +0000)
* frame.c (frame_id_eq): Fail when the code_addr's do not match.

gdb/ChangeLog
gdb/frame.c

index e9de31b9a57790a79dca84d7c8d77a9f979a7a89..eec6d3c7325e4f7d7870f102c550b18893890f4f 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-21  Andrew Cagney  <cagney@redhat.com>
+
+       * frame.c (frame_id_eq): Fail when the code_addr's do not match.
+
 2003-04-21  Andrew Cagney  <cagney@redhat.com>
 
        * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
index 3871aa1d5fcda1e0305636fc2a39b16182767d1e..5f1b39ed95511714403182a4e09b58688da3cf4b 100644 (file)
@@ -295,10 +295,8 @@ frame_id_eq (struct frame_id l, struct frame_id r)
     /* The .stack and .code are identical, the ID's are identical.  */
     eq = 1;
   else
-    /* FIXME: cagney/2003-04-06: This should be zero.  Can't yet do
-       this because most frame ID's are not being initialized
-       correctly.  */
-    eq = 1;
+    /* No luck.  */
+    eq = 0;
   if (frame_debug)
     {
       fprintf_unfiltered (gdb_stdlog, "{ frame_id_eq (l=");
This page took 0.027482 seconds and 4 git commands to generate.