diff options
Diffstat (limited to 'sys/arch/sparc/sparc/db_disasm.c')
-rw-r--r-- | sys/arch/sparc/sparc/db_disasm.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/sparc/sparc/db_disasm.c b/sys/arch/sparc/sparc/db_disasm.c index 9d293851406..c370aa41a28 100644 --- a/sys/arch/sparc/sparc/db_disasm.c +++ b/sys/arch/sparc/sparc/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.4 1999/07/09 21:30:02 art Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.5 2002/03/14 03:16:00 millert Exp $ */ /* $NetBSD: db_disasm.c,v 1.9 1996/03/31 23:45:07 pk Exp $ */ /* @@ -101,18 +101,18 @@ struct sparc_insn { unsigned long int match; - char* name; - char* format; + char *name; + char *format; }; -char* regs[] = { +char *regs[] = { "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", "o0", "o1", "o2", "o3", "o4", "o5", "sp", "o7", "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", "i0", "i1", "i2", "i3", "i4", "i5", "fp", "i7" }; -char* priv_regs[] = { +char *priv_regs[] = { "tpc", "tnpc", "tstate", "tt", "tick", "tba", "pstate", "tl", "pil", "cwp", "cansave", "canrestore", "cleanwin", "otherwin", "wstate", "fq", @@ -120,18 +120,18 @@ char* priv_regs[] = { "", "", "", "", "", "", "", "" }; -char* state_regs[] = { +char *state_regs[] = { "y", "", "ccr", "asi", "tick", "pc", "fprs", "asr", "", "", "", "", "", "", "", "", "illegal", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" }; -char* ccodes[] = { +char *ccodes[] = { "fcc0", "fcc1", "fcc2", "fcc3", "icc", "", "xcc", "" }; -char* prefetch[] = { +char *prefetch[] = { "n_reads", "one_read", "n_writes", "one_write", "page" }; @@ -803,7 +803,7 @@ db_disasm(loc, altfmt) unsigned long int insn, you_lose, bitmask; int matchp; - char* f_ptr, *cp; + char *f_ptr, *cp; you_lose = 0; matchp = 0; |