Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh5 Move opcode_t typedef into db_machdep.h.



details:   https://anonhg.NetBSD.org/src/rev/6698c6de76f6
branches:  trunk
changeset: 536617:6698c6de76f6
user:      scw <scw%NetBSD.org@localhost>
date:      Thu Sep 19 10:03:11 2002 +0000

description:
Move opcode_t typedef into db_machdep.h.

diffstat:

 sys/arch/sh5/include/db_machdep.h |  4 +++-
 sys/arch/sh5/sh5/db_disasm.c      |  3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r d22abb6d3558 -r 6698c6de76f6 sys/arch/sh5/include/db_machdep.h
--- a/sys/arch/sh5/include/db_machdep.h Thu Sep 19 09:03:09 2002 +0000
+++ b/sys/arch/sh5/include/db_machdep.h Thu Sep 19 10:03:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.h,v 1.3 2002/09/01 09:01:33 scw Exp $       */
+/*     $NetBSD: db_machdep.h,v 1.4 2002/09/19 10:03:12 scw Exp $       */
 
 /*
  * This is still very much experimental. There is as yet no DB support
@@ -45,6 +45,8 @@
 typedef        vaddr_t         db_addr_t;      /* address - unsigned */
 typedef        int64_t         db_expr_t;      /* expression - signed */
 
+typedef u_int32_t      opcode_t;
+
 typedef struct trapframe db_regs_t;
 db_regs_t              ddb_regs;       /* register state */
 #define        DDB_REGS        (&ddb_regs)
diff -r d22abb6d3558 -r 6698c6de76f6 sys/arch/sh5/sh5/db_disasm.c
--- a/sys/arch/sh5/sh5/db_disasm.c      Thu Sep 19 09:03:09 2002 +0000
+++ b/sys/arch/sh5/sh5/db_disasm.c      Thu Sep 19 10:03:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.7 2002/09/04 13:56:09 scw Exp $        */
+/*     $NetBSD: db_disasm.c,v 1.8 2002/09/19 10:03:11 scw Exp $        */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -52,7 +52,6 @@
 #include <ddb/db_output.h>
 #include <ddb/ddbvar.h>
 
-typedef u_int32_t opcode_t;
 typedef const char *(*format_func_t)(opcode_t, db_addr_t,
     char *, char *, char *);
 



Home | Main Index | Thread Index | Old Index