aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-21 19:34:02 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-21 19:34:02 +0000
commit4aa79dcc211440a846184993ae8cdfc598bfc6c5 (patch)
tree297534258a7b73d6690be99a2ab0b7a1a0755152 /gdb
parent0f751ff2f4cb21108a1c7087e1505d02114a2bdb (diff)
downloadgdb-4aa79dcc211440a846184993ae8cdfc598bfc6c5.zip
gdb-4aa79dcc211440a846184993ae8cdfc598bfc6c5.tar.gz
gdb-4aa79dcc211440a846184993ae8cdfc598bfc6c5.tar.bz2
2003-04-21 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/frame.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9de31b..eec6d3c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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
"i386_num_mmx_regs".
diff --git a/gdb/frame.c b/gdb/frame.c
index 3871aa1..5f1b39e 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -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=");