aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
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/frame.c
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/frame.c')
-rw-r--r--gdb/frame.c6
1 files changed, 2 insertions, 4 deletions
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=");