aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-09-21 18:20:58 +0930
committerAlan Modra <amodra@gmail.com>2020-09-21 18:20:58 +0930
commitc73eac969a8e14ebc5e3a1671951368728d01066 (patch)
treede9f02a838b8aea9660c263374f5e83b387d23bf /opcodes
parentb1b11e922b3de18b7e226da6fe6d87fa17564bde (diff)
downloadgdb-c73eac969a8e14ebc5e3a1671951368728d01066.zip
gdb-c73eac969a8e14ebc5e3a1671951368728d01066.tar.gz
gdb-c73eac969a8e14ebc5e3a1671951368728d01066.tar.bz2
rx-dis.c:103:3: suspicious concatenation of string literals
* rx-dis.c (flag_names): Add missing comma. (register_names, flag_names, double_register_names), (double_register_high_names, double_register_low_names), (double_control_register_names, double_condition_names): Remove trailing commas.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog8
-rw-r--r--opcodes/rx-dis.c16
2 files changed, 16 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 0f3c270..58b0905 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,11 @@
+2020-09-21 Alan Modra <amodra@gmail.com>
+
+ * rx-dis.c (flag_names): Add missing comma.
+ (register_names, flag_names, double_register_names),
+ (double_register_high_names, double_register_low_names),
+ (double_control_register_names, double_condition_names): Remove
+ trailing commas.
+
2020-09-18 David Faust <david.faust@oracle.com>
* bpf-desc.c: Regenerate.
diff --git a/opcodes/rx-dis.c b/opcodes/rx-dis.c
index 29ba71c..1e5591c 100644
--- a/opcodes/rx-dis.c
+++ b/opcodes/rx-dis.c
@@ -85,7 +85,7 @@ static char const * register_names[] =
"psw", "pc", "usp", "fpsw", NULL, NULL, NULL, NULL,
"bpsw", "bpc", "isp", "fintv", "intb", "extb", NULL, NULL,
"a0", "a1", NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
};
static char const * condition_names[] =
@@ -99,36 +99,36 @@ static const char * flag_names[] =
{
"c", "z", "s", "o", "", "", "", "",
"", "", "", "", "", "", "", "",
- "i", "u", "", "", "", "", "", ""
- "", "", "", "", "", "", "", "",
+ "i", "u", "", "", "", "", "", "",
+ "", "", "", "", "", "", "", ""
};
static const char * double_register_names[] =
{
"dr0", "dr1", "dr2", "dr3", "dr4", "dr5", "dr6", "dr7",
- "dr8", "dr9", "dr10", "dr11", "dr12", "dr13", "dr14", "dr15",
+ "dr8", "dr9", "dr10", "dr11", "dr12", "dr13", "dr14", "dr15"
};
static const char * double_register_high_names[] =
{
"drh0", "drh1", "drh2", "drh3", "drh4", "drh5", "drh6", "drh7",
- "drh8", "drh9", "drh10", "drh11", "drh12", "drh13", "drh14", "drh15",
+ "drh8", "drh9", "drh10", "drh11", "drh12", "drh13", "drh14", "drh15"
};
static const char * double_register_low_names[] =
{
"drl0", "drl1", "drl2", "drl3", "drl4", "drl5", "drl6", "drl7",
- "drl8", "drl9", "drl10", "drl11", "drl12", "drl13", "drl14", "drl15",
+ "drl8", "drl9", "drl10", "drl11", "drl12", "drl13", "drl14", "drl15"
};
static const char * double_control_register_names[] =
{
- "dpsw", "dcmr", "decnt", "depc",
+ "dpsw", "dcmr", "decnt", "depc"
};
static const char * double_condition_names[] =
{
- "", "un", "eq", "", "lt", "", "le",
+ "", "un", "eq", "", "lt", "", "le"
};
static inline const char *