diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 20:50:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 21:25:22 -0500 |
commit | c6352113d200d3ad71cc1d02ec582bf2732d1531 (patch) | |
tree | 1ba8cff5c78be1fbe336b9253d61563260d4c6c9 /sim | |
parent | 916791c74593099149521b3f3d2af2ec91caa45d (diff) | |
download | gdb-c6352113d200d3ad71cc1d02ec582bf2732d1531.zip gdb-c6352113d200d3ad71cc1d02ec582bf2732d1531.tar.gz gdb-c6352113d200d3ad71cc1d02ec582bf2732d1531.tar.bz2 |
sim: m68hc11: gencode: add printf markings
Diffstat (limited to 'sim')
-rw-r--r-- | sim/m68hc11/gencode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/m68hc11/gencode.c b/sim/m68hc11/gencode.c index ecd8f7b..27e40d4 100644 --- a/sim/m68hc11/gencode.c +++ b/sim/m68hc11/gencode.c @@ -1144,6 +1144,7 @@ static int current_insn_size = 0; /* Fatal error message and exit. This method is called when an inconsistency is detected in the generation table. */ +ATTRIBUTE_PRINTF_2 static void 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). */ +ATTRIBUTE_PRINTF_3 static void print (FILE *fp, int col, const char *msg, ...) { |