Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Nuke local extern label_t *db_recover; it's now in...



details:   https://anonhg.NetBSD.org/src/rev/b2f30f5f1b02
branches:  trunk
changeset: 526906:b2f30f5f1b02
user:      matt <matt%NetBSD.org@localhost>
date:      Mon May 13 20:30:07 2002 +0000

description:
Nuke local extern label_t *db_recover;  it's now in <ddb/db_extern.h>

diffstat:

 sys/arch/acorn26/acorn26/db_interface.c |  4 +---
 sys/arch/alpha/alpha/db_interface.c     |  6 ++----
 sys/arch/arm/arm32/db_interface.c       |  4 +---
 sys/arch/m68k/m68k/db_interface.c       |  4 +---
 sys/arch/m68k/m68k/db_trace.c           |  4 +---
 sys/arch/pc532/pc532/db_interface.c     |  3 +--
 sys/arch/powerpc/powerpc/db_interface.c |  3 +--
 sys/arch/powerpc/powerpc/db_trace.c     |  4 +---
 sys/arch/sh3/sh3/db_interface.c         |  3 +--
 sys/arch/sparc/sparc/db_interface.c     |  4 +---
 sys/arch/sparc64/sparc64/db_interface.c |  4 +---
 sys/arch/sun2/include/db_machdep.h      |  5 +----
 sys/arch/sun3/include/db_machdep.h      |  5 +----
 sys/arch/vax/include/db_machdep.h       |  4 ++--
 sys/arch/vax/vax/db_machdep.c           |  4 ++--
 15 files changed, 18 insertions(+), 43 deletions(-)

diffs (278 lines):

diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/acorn26/acorn26/db_interface.c
--- a/sys/arch/acorn26/acorn26/db_interface.c   Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/acorn26/acorn26/db_interface.c   Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.1 2002/03/24 15:46:44 bjh21 Exp $   */
+/*     $NetBSD: db_interface.c,v 1.2 2002/05/13 20:30:07 matt Exp $    */
 
 /* 
  * Copyright (c) 1996 Scott K. Stevens
@@ -93,8 +93,6 @@
 
 const struct db_variable * const db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]);
 
-extern label_t *db_recover;
-
 int    db_active = 0;
 
 #ifdef __PROG32
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/alpha/alpha/db_interface.c
--- a/sys/arch/alpha/alpha/db_interface.c       Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/alpha/alpha/db_interface.c       Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_interface.c,v 1.16 2001/05/13 01:40:58 ross Exp $ */
+/* $NetBSD: db_interface.c,v 1.17 2002/05/13 20:30:08 matt Exp $ */
 
 /* 
  * Mach Operating System
@@ -52,7 +52,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.16 2001/05/13 01:40:58 ross Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.17 2002/05/13 20:30:08 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -79,8 +79,6 @@
 #include <ddb/db_interface.h>
 
 
-extern label_t *db_recover;
-
 #if 0
 extern char *trap_type[];
 extern int trap_types;
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/arm/arm32/db_interface.c
--- a/sys/arch/arm/arm32/db_interface.c Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/arm/arm32/db_interface.c Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.20 2002/04/10 19:35:23 thorpej Exp $        */
+/*     $NetBSD: db_interface.c,v 1.21 2002/05/13 20:30:08 matt Exp $   */
 
 /* 
  * Copyright (c) 1996 Scott K. Stevens
@@ -91,8 +91,6 @@
 
 const struct db_variable * const db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]);
 
-extern label_t *db_recover;
-
 int    db_active = 0;
 
 int
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/m68k/m68k/db_interface.c
--- a/sys/arch/m68k/m68k/db_interface.c Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/m68k/m68k/db_interface.c Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.27 2000/06/29 08:13:52 mrg Exp $    */
+/*     $NetBSD: db_interface.c,v 1.28 2002/05/13 20:30:08 matt Exp $   */
 
 /* 
  * Mach Operating System
@@ -48,8 +48,6 @@
 #include <ddb/db_extern.h>
 
 
-extern label_t *db_recover;
-
 int    db_active = 0;
 db_regs_t      ddb_regs;
 
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/m68k/m68k/db_trace.c
--- a/sys/arch/m68k/m68k/db_trace.c     Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/m68k/m68k/db_trace.c     Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.34 2001/02/07 23:30:27 chs Exp $        */
+/*     $NetBSD: db_trace.c,v 1.35 2002/05/13 20:30:09 matt Exp $       */
 
 /* 
  * Mach Operating System
@@ -39,8 +39,6 @@
 #include <ddb/db_sym.h>
 #include <ddb/db_variables.h>
 
-extern label_t *db_recover;
-
 /*
  * Register list
  */
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/pc532/pc532/db_interface.c
--- a/sys/arch/pc532/pc532/db_interface.c       Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/pc532/pc532/db_interface.c       Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.9 2000/06/29 07:51:46 mrg Exp $     */
+/*     $NetBSD: db_interface.c,v 1.10 2002/05/13 20:30:09 matt Exp $   */
 
 /* 
  * Mach Operating System
@@ -54,7 +54,6 @@
 #include <ddb/db_output.h>
 
 
-extern label_t *db_recover;
 extern char *  trap_type[];
 extern int     trap_types;
 
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/powerpc/powerpc/db_interface.c
--- a/sys/arch/powerpc/powerpc/db_interface.c   Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/powerpc/powerpc/db_interface.c   Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.19 2002/05/13 06:05:32 matt Exp $ */
+/*     $NetBSD: db_interface.c,v 1.20 2002/05/13 20:30:09 matt Exp $ */
 /*     $OpenBSD: db_interface.c,v 1.2 1996/12/28 06:21:50 rahnds Exp $ */
 
 #define USERACC
@@ -39,7 +39,6 @@
 int    db_active = 0;
 
 db_regs_t ddb_regs;
-extern label_t *db_recover;
 
 void ddb_trap(void);                           /* Call into trap_subr.S */
 int ddb_trap_glue(struct trapframe *);         /* Called from trap_subr.S */
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/powerpc/powerpc/db_trace.c
--- a/sys/arch/powerpc/powerpc/db_trace.c       Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/powerpc/powerpc/db_trace.c       Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.19 2002/03/15 21:01:28 eeh Exp $        */
+/*     $NetBSD: db_trace.c,v 1.20 2002/05/13 20:30:09 matt Exp $       */
 /*     $OpenBSD: db_trace.c,v 1.3 1997/03/21 02:10:48 niklas Exp $     */
 
 /* 
@@ -91,8 +91,6 @@
 };
 const struct db_variable * const db_eregs = db_regs + sizeof (db_regs)/sizeof (db_regs[0]);
 
-extern label_t *db_recover;
-
 /*
  *     Frame tracing.
  */
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/sh3/sh3/db_interface.c
--- a/sys/arch/sh3/sh3/db_interface.c   Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/sh3/sh3/db_interface.c   Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.18 2002/05/10 15:28:45 uch Exp $    */
+/*     $NetBSD: db_interface.c,v 1.19 2002/05/13 20:30:10 matt Exp $   */
 
 /*-
  * Copyright (C) 2002 UCHIYAMA Yasushi.  All rights reserved.
@@ -45,7 +45,6 @@
 
 #include <sh3/ubcreg.h>
 
-extern label_t *db_recover;
 extern char *exp_type[];
 extern int exp_types;
 
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/sparc/sparc/db_interface.c
--- a/sys/arch/sparc/sparc/db_interface.c       Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/sparc/sparc/db_interface.c       Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.43 2001/06/30 20:16:49 mrg Exp $ */
+/*     $NetBSD: db_interface.c,v 1.44 2002/05/13 20:30:10 matt Exp $ */
 
 /*
  * Mach Operating System
@@ -188,8 +188,6 @@
        return 0;
 }
 
-extern label_t *db_recover;
-
 int    db_active = 0;
 
 extern char *trap_type[];
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/sparc64/sparc64/db_interface.c
--- a/sys/arch/sparc64/sparc64/db_interface.c   Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/sparc64/sparc64/db_interface.c   Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.62 2002/01/12 01:07:00 eeh Exp $ */
+/*     $NetBSD: db_interface.c,v 1.63 2002/05/13 20:30:11 matt Exp $ */
 
 /*
  * Mach Operating System
@@ -217,8 +217,6 @@
 };
 const struct db_variable * const db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]);
 
-extern label_t *db_recover;
-
 int    db_active = 0;
 
 extern char *trap_type[];
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/sun2/include/db_machdep.h
--- a/sys/arch/sun2/include/db_machdep.h        Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/sun2/include/db_machdep.h        Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.3 2001/11/30 17:52:33 fredette Exp $  */
+/*     $NetBSD: db_machdep.h,v 1.4 2002/05/13 20:30:12 matt Exp $      */
 
 /*
  * Mach Operating System
@@ -40,9 +40,6 @@
 /* This enables some code in db_command.c */
 #define DB_MACHINE_COMMANDS
 
-/* XXX - Put this in db_extern.h instead? -gwr */
-extern label_t *db_recover;    /* db_command.c */
-
 extern char    *esym;  /* end of symbols */
 
 /* These are in db_memrw.c */
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/sun3/include/db_machdep.h
--- a/sys/arch/sun3/include/db_machdep.h        Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/sun3/include/db_machdep.h        Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.13 2001/11/09 06:52:25 thorpej Exp $  */
+/*     $NetBSD: db_machdep.h,v 1.14 2002/05/13 20:30:12 matt Exp $     */
 
 /*
  * Mach Operating System
@@ -40,9 +40,6 @@
 /* This enables some code in db_command.c */
 #define DB_MACHINE_COMMANDS
 
-/* XXX - Put this in db_extern.h instead? -gwr */
-extern label_t *db_recover;    /* db_command.c */
-
 extern char    *esym;  /* end of symbols */
 
 /* These are in db_memrw.c */
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/vax/include/db_machdep.h
--- a/sys/arch/vax/include/db_machdep.h Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/vax/include/db_machdep.h Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.10 2001/06/04 21:37:12 ragge Exp $    */
+/*     $NetBSD: db_machdep.h,v 1.11 2002/05/13 20:30:12 matt Exp $     */
 
 /* 
  * Mach Operating System
@@ -43,7 +43,7 @@
 typedef        long            db_expr_t;      /* expression - signed */
 
 typedef struct trapframe db_regs_t;
-db_regs_t      ddb_regs;       /* register state */
+extern db_regs_t       ddb_regs;       /* register state */
 #define        DDB_REGS        (&ddb_regs)
 
 #define        PC_REGS(regs)   ((db_addr_t)(regs)->pc)
diff -r 8d60af735916 -r b2f30f5f1b02 sys/arch/vax/vax/db_machdep.c
--- a/sys/arch/vax/vax/db_machdep.c     Mon May 13 20:17:20 2002 +0000
+++ b/sys/arch/vax/vax/db_machdep.c     Mon May 13 20:30:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.c,v 1.32 2002/03/31 00:14:18 matt Exp $     */
+/*     $NetBSD: db_machdep.c,v 1.33 2002/05/13 20:30:13 matt Exp $     */
 
 /* 
  * :set tabs=4
@@ -69,7 +69,7 @@
 
 #include "ioconf.h"
 
-extern label_t *db_recover;
+db_regs_t ddb_regs;
 
 void   kdbprinttrap(int, int);
 



Home | Main Index | Thread Index | Old Index