Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32



details:   https://anonhg.NetBSD.org/src/rev/bdb9d0cfdc93
branches:  trunk
changeset: 767135:bdb9d0cfdc93
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jul 09 16:58:04 2011 +0000

description:
Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32

diffstat:

 sys/arch/algor/include/db_machdep.h       |  10 +---------
 sys/arch/arc/include/db_machdep.h         |  10 +---------
 sys/arch/cobalt/include/db_machdep.h      |  10 +---------
 sys/arch/emips/include/db_machdep.h       |  10 +---------
 sys/arch/evbmips/include/db_machdep.h     |  11 +----------
 sys/arch/ews4800mips/include/db_machdep.h |   4 +---
 sys/arch/hpcmips/include/db_machdep.h     |  10 +---------
 sys/arch/mips/include/db_machdep.h        |   6 +++++-
 sys/arch/mipsco/include/db_machdep.h      |  10 +---------
 sys/arch/newsmips/include/db_machdep.h    |  10 +---------
 sys/arch/sbmips/include/db_machdep.h      |   5 +----
 sys/arch/sgimips/include/db_machdep.h     |  10 +---------
 12 files changed, 16 insertions(+), 90 deletions(-)

diffs (190 lines):

diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/algor/include/db_machdep.h
--- a/sys/arch/algor/include/db_machdep.h       Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/algor/include/db_machdep.h       Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.1 2001/05/28 16:22:18 thorpej Exp $   */
-
-#ifndef _ALGOR_DB_MACHDEP_H_
-#define _ALGOR_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.2 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_ALGOR_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/arc/include/db_machdep.h
--- a/sys/arch/arc/include/db_machdep.h Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/arc/include/db_machdep.h Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.4 2001/09/04 07:43:29 simonb Exp $    */
-
-#ifndef _ARC_DB_MACHDEP_H_
-#define _ARC_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE      32
+/*     $NetBSD: db_machdep.h,v 1.5 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_ARC_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/cobalt/include/db_machdep.h
--- a/sys/arch/cobalt/include/db_machdep.h      Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/cobalt/include/db_machdep.h      Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.2 2001/09/04 07:43:29 simonb Exp $    */
-
-#ifndef _COBALT_DB_MACHDEP_H_
-#define _COBALT_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.3 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_COBALT_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/emips/include/db_machdep.h
--- a/sys/arch/emips/include/db_machdep.h       Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/emips/include/db_machdep.h       Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.1 2011/01/26 01:18:51 pooka Exp $     */
-
-#ifndef _EMIPS_DB_MACHDEP_H_
-#define _EMIPS_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.2 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_EMIPS_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/evbmips/include/db_machdep.h
--- a/sys/arch/evbmips/include/db_machdep.h     Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/evbmips/include/db_machdep.h     Sat Jul 09 16:58:04 2011 +0000
@@ -1,12 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.1 2002/03/07 14:43:59 simonb Exp $    */
-
-#ifndef _EBVMIPS_DB_MACHDEP_H_
-#define _EBVMIPS_DB_MACHDEP_H_
-
-/* XXX: Common for all evbmips or not? */
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.2 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_EBVMIPS_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/ews4800mips/include/db_machdep.h
--- a/sys/arch/ews4800mips/include/db_machdep.h Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/ews4800mips/include/db_machdep.h Sat Jul 09 16:58:04 2011 +0000
@@ -1,9 +1,7 @@
-/*     $NetBSD: db_machdep.h,v 1.1 2005/12/29 15:20:08 tsutsui Exp $   */
+/*     $NetBSD: db_machdep.h,v 1.2 2011/07/09 16:58:04 matt Exp $      */
 
 #include <mips/db_machdep.h>
 
-#define        DB_ELF_SYMBOLS
-#define        DB_ELFSIZE      32
 #ifdef DDB
 void __db_print_symbol(db_expr_t);
 #define        DB_PRINT_CALLER()                                               \
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/hpcmips/include/db_machdep.h
--- a/sys/arch/hpcmips/include/db_machdep.h     Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/hpcmips/include/db_machdep.h     Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.2 2001/09/04 07:43:30 simonb Exp $    */
-
-#ifndef _HPCMIPS_DB_MACHDEP_H_
-#define _HPCMIPS_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE      32
+/*     $NetBSD: db_machdep.h,v 1.3 2011/07/09 16:58:05 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_HPCMIPS_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/mips/include/db_machdep.h
--- a/sys/arch/mips/include/db_machdep.h        Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/mips/include/db_machdep.h        Sat Jul 09 16:58:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.27 2011/05/26 15:34:13 joerg Exp $ */
+/* $NetBSD: db_machdep.h,v 1.28 2011/07/09 16:58:05 matt Exp $ */
 
 /*
  * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -40,6 +40,10 @@
 #include <mips/regnum.h>               /* symbolic register indices */
 #include <mips/pcb.h>
 
+#define        DB_ELF_SYMBOLS
+#ifndef DB_ELFSIZE
+#define        DB_ELFSIZE      32
+#endif
 
 typedef        vaddr_t         db_addr_t;      /* address - unsigned */
 #define        DDB_EXPR_FMT    "l"             /* expression is long */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/mipsco/include/db_machdep.h
--- a/sys/arch/mipsco/include/db_machdep.h      Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/mipsco/include/db_machdep.h      Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.2 2001/09/04 07:43:30 simonb Exp $    */
-
-#ifndef _MIPSCO_DB_MACHDEP_H_
-#define _MIPSCO_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.3 2011/07/09 16:58:05 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_MIPSCO_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/newsmips/include/db_machdep.h
--- a/sys/arch/newsmips/include/db_machdep.h    Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/newsmips/include/db_machdep.h    Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.3 2001/09/04 07:43:30 simonb Exp $    */
-
-#ifndef _NEWSMIPS_DB_MACHDEP_H_
-#define _NEWSMIPS_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.4 2011/07/09 16:58:05 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_NEWSMIPS_DB_MACHDEP_H_ */
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/sbmips/include/db_machdep.h
--- a/sys/arch/sbmips/include/db_machdep.h      Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/sbmips/include/db_machdep.h      Sat Jul 09 16:58:04 2011 +0000
@@ -1,6 +1,3 @@
-/* $NetBSD: db_machdep.h,v 1.1 2002/03/06 02:13:41 simonb Exp $ */
+/* $NetBSD: db_machdep.h,v 1.2 2011/07/09 16:58:05 matt Exp $ */
 
 #include <mips/db_machdep.h>
-
-#define        DB_ELF_SYMBOLS
-#define        DB_ELFSIZE      32
diff -r a82e758ad092 -r bdb9d0cfdc93 sys/arch/sgimips/include/db_machdep.h
--- a/sys/arch/sgimips/include/db_machdep.h     Sat Jul 09 16:09:01 2011 +0000
+++ b/sys/arch/sgimips/include/db_machdep.h     Sat Jul 09 16:58:04 2011 +0000
@@ -1,11 +1,3 @@
-/*     $NetBSD: db_machdep.h,v 1.2 2001/09/04 07:43:31 simonb Exp $    */
-
-#ifndef _SGIMIPS_DB_MACHDEP_H_
-#define _SGIMIPS_DB_MACHDEP_H_
-
-#define DB_ELF_SYMBOLS
-#define DB_ELFSIZE     32
+/*     $NetBSD: db_machdep.h,v 1.3 2011/07/09 16:58:05 matt Exp $      */
 
 #include <mips/db_machdep.h>
-
-#endif /* !_SGIMIPS_DB_MACHDEP_H_ */



Home | Main Index | Thread Index | Old Index