Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Adapt to constification of sys/ddb/db_inter...



details:   https://anonhg.NetBSD.org/src/rev/c50d65adf87d
branches:  trunk
changeset: 581262:c50d65adf87d
user:      he <he%NetBSD.org@localhost>
date:      Mon May 30 17:39:17 2005 +0000

description:
Adapt to constification of sys/ddb/db_interface.h.

diffstat:

 sys/arch/arm/arm/db_trace.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 3dd2d949d2e4 -r c50d65adf87d sys/arch/arm/arm/db_trace.c
--- a/sys/arch/arm/arm/db_trace.c       Mon May 30 17:15:29 2005 +0000
+++ b/sys/arch/arm/arm/db_trace.c       Mon May 30 17:39:17 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.8 2003/01/17 22:28:48 thorpej Exp $     */
+/*     $NetBSD: db_trace.c,v 1.9 2005/05/30 17:39:17 he Exp $  */
 
 /* 
  * Copyright (c) 2000, 2001 Ben Harris
@@ -31,7 +31,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.8 2003/01/17 22:28:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.9 2005/05/30 17:39:17 he Exp $");
 
 #include <sys/proc.h>
 #include <sys/user.h>
@@ -84,11 +84,12 @@
        db_expr_t       addr;
        int             have_addr;
        db_expr_t       count;
-       char            *modif;
+       const char      *modif;
        void            (*pr) __P((const char *, ...));
 {
        u_int32_t       *frame, *lastframe;
-       char c, *cp = modif;
+       const char      *cp = modif;
+       char c;
        boolean_t       kernel_only = TRUE;
        boolean_t       trace_thread = FALSE;
        int     scp_offset;



Home | Main Index | Thread Index | Old Index