aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sparc-dis.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-08 07:29:27 +0000
committerAlan Modra <amodra@gmail.com>2002-06-08 07:29:27 +0000
commit56da5fedc7f14da15c32e9a7da13348cf906923e (patch)
treea59a1090d8739a83b1f13eaf266bb60ffae4bc67 /opcodes/sparc-dis.c
parent3f9c735ef4be0a0e64cbb47f4ff54482673a702e (diff)
downloadgdb-56da5fedc7f14da15c32e9a7da13348cf906923e.zip
gdb-56da5fedc7f14da15c32e9a7da13348cf906923e.tar.gz
gdb-56da5fedc7f14da15c32e9a7da13348cf906923e.tar.bz2
* a29k-dis.c: Replace CONST with const.
* h8300-dis.c: Likewise. * m68k-dis.c: Likewise. * or32-dis.c: Likewise. * sparc-dis.c: Likewise.
Diffstat (limited to 'opcodes/sparc-dis.c')
-rw-r--r--opcodes/sparc-dis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c
index 4c59398..47ebb31 100644
--- a/opcodes/sparc-dis.c
+++ b/opcodes/sparc-dis.c
@@ -1,6 +1,6 @@
/* Print SPARC instructions.
Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000 Free Software Foundation, Inc.
+ 2000, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -188,7 +188,7 @@ is_delayed_branch (insn)
for (op = opcode_hash_table[HASH_INSN (insn)]; op; op = op->next)
{
- CONST struct sparc_opcode *opcode = op->opcode;
+ const struct sparc_opcode *opcode = op->opcode;
if ((opcode->match & insn) == opcode->match
&& (opcode->lose & insn) == 0)
return (opcode->flags & F_DELAYED);
@@ -272,7 +272,7 @@ print_insn_sparc (memaddr, info)
for (op = opcode_hash_table[HASH_INSN (insn)]; op; op = op->next)
{
- CONST struct sparc_opcode *opcode = op->opcode;
+ const struct sparc_opcode *opcode = op->opcode;
/* If the insn isn't supported by the current architecture, skip it. */
if (! (opcode->architecture & current_arch_mask))
@@ -312,7 +312,7 @@ print_insn_sparc (memaddr, info)
(*info->fprintf_func) (stream, opcode->name);
{
- register CONST char *s;
+ register const char *s;
if (opcode->args[0] != ',')
(*info->fprintf_func) (stream, " ");