summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-10 17:19:49 +0000
committerRoland McGrath <roland@gnu.org>2013-10-10 17:19:49 +0000
commitee9007efed0ea73292676b4986bc583fa5cd19e0 (patch)
tree57f738f970e1035869f2a6f8d18a9f0eb4946bc4 /opcodes
parente28eae2f4f09783b06bdd35dba7034de44771118 (diff)
downloadgdb-ee9007efed0ea73292676b4986bc583fa5cd19e0.tar.gz
opcodes/
* v850-dis.c (v850_cacheop_codes, v850_prefop_codes): Remove duplicate const qualifier.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/v850-dis.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6c407a7116f..490615fdd96 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-10 Roland McGrath <mcgrathr@google.com>
+
+ * v850-dis.c (v850_cacheop_codes, v850_prefop_codes):
+ Remove duplicate const qualifier.
+
2013-10-08 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (invlpg): Use Anysize instead of Unspecified.
diff --git a/opcodes/v850-dis.c b/opcodes/v850-dis.c
index bf168516d9f..9433274d493 100644
--- a/opcodes/v850-dis.c
+++ b/opcodes/v850-dis.c
@@ -73,7 +73,7 @@ static const char *const v850_cacheop_names[] =
"chbwbd", "cibid", "cibiwbd", "cibwbd", "cfald", "cistd", "cildd"
};
-static const int const v850_cacheop_codes[] =
+static const int v850_cacheop_codes[] =
{
0x00, 0x20, 0x40, 0x60, 0x61, 0x04, 0x06,
0x07, 0x24, 0x26, 0x27, 0x44, 0x64, 0x65, -1
@@ -82,7 +82,7 @@ static const int const v850_cacheop_codes[] =
static const char *const v850_prefop_names[] =
{ "prefi", "prefd" };
-static const int const v850_prefop_codes[] =
+static const int v850_prefop_codes[] =
{ 0x00, 0x04, -1};
static void
@@ -405,7 +405,7 @@ disassemble (bfd_vma memaddr,
{
info->fprintf_func (info->stream, ", %s[", prefix);
square = TRUE;
- }
+ }
else if (opnum > 1)
info->fprintf_func (info->stream, ", %s", prefix);