]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/nat/fork-inferior.h
Add ATTRIBUTE_PRINTF to trace_start_error
[thirdparty/binutils-gdb.git] / gdb / nat / fork-inferior.h
index 10e383299c616109f42726e1d0ed14d80cfac7af..d369cff2f3d2ca88220afbc59d55bb79ce022796 100644 (file)
@@ -95,7 +95,7 @@ extern void gdb_flush_out_err ();
    (i.e., when the "traceme_fun" callback is called on fork_inferior)
    and bail out.  This function does not return.  */
 extern void trace_start_error (const char *fmt, ...)
-  ATTRIBUTE_NORETURN;
+  ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
 
 /* Like "trace_start_error", but the error message is constructed by
    combining STRING with the system error message for errno.  This