diff options
author | Roland McGrath <roland@gnu.org> | 2013-10-10 17:19:49 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-10-10 17:19:49 +0000 |
commit | 7903e5309890633911c91539e23a407e1f74b959 (patch) | |
tree | 353a5b3aa13b4e844e0a2611a15e39561ddfedc3 /opcodes | |
parent | 47cd3fa7ee3ebcee7d27a1b25738cc92c3d8d31c (diff) | |
download | gdb-7903e5309890633911c91539e23a407e1f74b959.zip gdb-7903e5309890633911c91539e23a407e1f74b959.tar.gz gdb-7903e5309890633911c91539e23a407e1f74b959.tar.bz2 |
opcodes/
* v850-dis.c (v850_cacheop_codes, v850_prefop_codes):
Remove duplicate const qualifier.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/v850-dis.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6c407a7..490615f 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 bf16851..9433274 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); |