diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-06-08 07:29:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-06-08 07:29:27 +0000 |
commit | 665eaa6ef575fd1cbe754639bc9a7167bc6ea055 (patch) | |
tree | 8ae282cb31bb9dbfc71fd33ccc5f3ec52f2c0ecd /opcodes/h8300-dis.c | |
parent | f4217f8103848339ed7d0a14c8b91c6ac33e3e03 (diff) | |
download | gdb-665eaa6ef575fd1cbe754639bc9a7167bc6ea055.tar.gz |
* 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/h8300-dis.c')
-rw-r--r-- | opcodes/h8300-dis.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index c521c773fce..d14fda9858b 100644 --- a/opcodes/h8300-dis.c +++ b/opcodes/h8300-dis.c @@ -1,5 +1,6 @@ /* Disassemble h8300 instructions. - Copyright 1993, 1994, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. + Copyright 1993, 1994, 1996, 1998, 2000, 2001, 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 @@ -69,17 +70,17 @@ bfd_h8_disassemble (addr, info, mode) int mode; { /* Find the first entry in the table for this opcode. */ - static CONST char *regnames[] = + static const char *regnames[] = { "r0h", "r1h", "r2h", "r3h", "r4h", "r5h", "r6h", "r7h", "r0l", "r1l", "r2l", "r3l", "r4l", "r5l", "r6l", "r7l" }; - static CONST char *wregnames[] = + static const char *wregnames[] = { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7" }; - static CONST char *lregnames[] = + static const char *lregnames[] = { "er0", "er1", "er2", "er3", "er4", "er5", "er6", "er7", "er0", "er1", "er2", "er3", "er4", "er5", "er6", "er7" @@ -92,7 +93,7 @@ bfd_h8_disassemble (addr, info, mode) int plen = 0; static boolean init = 0; struct h8_opcode *q; - char CONST **pregnames = mode != 0 ? lregnames : wregnames; + char const **pregnames = mode != 0 ? lregnames : wregnames; int status; int l; unsigned char data[20]; |