aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/gen.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-10 00:29:27 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-10 00:29:27 +0700
commit3abad2f6a637a0c56af70311d94ec66eea1b4852 (patch)
treefc8c7e6b9f9d2007c81650e72eb3dd4f93f0aec7 /sim/igen/gen.c
parent959550953e9467b3aa3e168c8ea313e123626d9b (diff)
downloadgdb-3abad2f6a637a0c56af70311d94ec66eea1b4852.zip
gdb-3abad2f6a637a0c56af70311d94ec66eea1b4852.tar.gz
gdb-3abad2f6a637a0c56af70311d94ec66eea1b4852.tar.bz2
sim: igen: add missing newline to various error messages
The error() function expects a trailing newline in its message. Most callers do this already, so adding it to the few that don't.
Diffstat (limited to 'sim/igen/gen.c')
-rw-r--r--sim/igen/gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/gen.c b/sim/igen/gen.c
index d2a40d1..3882b5b 100644
--- a/sim/igen/gen.c
+++ b/sim/igen/gen.c
@@ -987,7 +987,7 @@ gen_entry_expand_opcode (gen_entry *table,
}
if (bit == NULL && t == NULL)
error (instruction->line,
- "Conditional `%s' of field `%s' isn't expanded",
+ "Conditional `%s' of field `%s' isn't expanded\n",
condition->string, field->val_string);
switch (condition->test)
{