public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: m68hc11: gencode: add printf markings
@ 2024-01-09  2:25 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2024-01-09  2:25 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c6352113d200d3ad71cc1d02ec582bf2732d1531

commit c6352113d200d3ad71cc1d02ec582bf2732d1531
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Jan 8 20:50:01 2024 -0500

    sim: m68hc11: gencode: add printf markings

Diff:
---
 sim/m68hc11/gencode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sim/m68hc11/gencode.c b/sim/m68hc11/gencode.c
index ecd8f7bbf4f..27e40d48fd3 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, ...)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-09  2:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09  2:25 [binutils-gdb] sim: m68hc11: gencode: add printf markings Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).