Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh5/sh5 Fix a spurious looping PC/FP message when w...



details:   https://anonhg.NetBSD.org/src/rev/0c3600e548e3
branches:  trunk
changeset: 538398:0c3600e548e3
user:      scw <scw%NetBSD.org@localhost>
date:      Sat Oct 19 08:50:30 2002 +0000

description:
Fix a spurious looping PC/FP message when we stop due to not finding
the caller's stack frame.

diffstat:

 sys/arch/sh5/sh5/db_trace.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 08cda8327e6a -r 0c3600e548e3 sys/arch/sh5/sh5/db_trace.c
--- a/sys/arch/sh5/sh5/db_trace.c       Sat Oct 19 08:43:32 2002 +0000
+++ b/sys/arch/sh5/sh5/db_trace.c       Sat Oct 19 08:50:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.8 2002/10/18 09:16:14 scw Exp $ */
+/*     $NetBSD: db_trace.c,v 1.9 2002/10/19 08:50:30 scw Exp $ */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -324,6 +324,7 @@
                        pc_adj = 4;
                } else {
                        (*pr)("Can't find caller's stack frame.\n");
+                       lastpc = lastfp = 0;
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index