sim: m68hc11: gencode: add printf markings
This commit is contained in:
parent
916791c745
commit
c6352113d2
@ -1144,6 +1144,7 @@ static int current_insn_size = 0;
|
|||||||
|
|
||||||
/* Fatal error message and exit. This method is called when an inconsistency
|
/* Fatal error message and exit. This method is called when an inconsistency
|
||||||
is detected in the generation table. */
|
is detected in the generation table. */
|
||||||
|
ATTRIBUTE_PRINTF_2
|
||||||
static void
|
static void
|
||||||
fatal_error (const struct m6811_opcode_def *opcode, const char *msg, ...)
|
fatal_error (const struct m6811_opcode_def *opcode, const char *msg, ...)
|
||||||
{
|
{
|
||||||
@ -1166,6 +1167,7 @@ fatal_error (const struct m6811_opcode_def *opcode, const char *msg, ...)
|
|||||||
|
|
||||||
|
|
||||||
/* Format and pretty print for the code generation. (printf like format). */
|
/* Format and pretty print for the code generation. (printf like format). */
|
||||||
|
ATTRIBUTE_PRINTF_3
|
||||||
static void
|
static void
|
||||||
print (FILE *fp, int col, const char *msg, ...)
|
print (FILE *fp, int col, const char *msg, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user