From 4aa79dcc211440a846184993ae8cdfc598bfc6c5 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 21 Apr 2003 19:34:02 +0000 Subject: [PATCH] 2003-04-21 Andrew Cagney * frame.c (frame_id_eq): Fail when the code_addr's do not match. --- gdb/ChangeLog | 4 ++++ gdb/frame.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e9de31b9a57..eec6d3c7325 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-04-21 Andrew Cagney + + * frame.c (frame_id_eq): Fail when the code_addr's do not match. + 2003-04-21 Andrew Cagney * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with diff --git a/gdb/frame.c b/gdb/frame.c index 3871aa1d5fc..5f1b39ed955 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="); -- 2.30.2