qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] Configure option to turn on all debug printerfy
@ 2012-10-31  3:10 Peter Crosthwaite
  2012-10-31  3:22 ` Andreas Färber
  2012-10-31  9:29 ` Igor Mitsyanko
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Crosthwaite @ 2012-10-31  3:10 UTC (permalink / raw)
  To: qemu-devel@nongnu.org Developers; +Cc: Igor Mitsyanko

So in a couple of cases now I have done work on mature device models
that include #ifdef'd debug printfery that is broken, and have
submitted (trivial) patches to fix. Whats happening is tree wide or
automated changes (changing types of variables etc) is causing the
debug printfery to break, usually werror issues on %x in printfs due
to types. Issue is, it never gets detected until someone tries to use
the debug mode: ./configure --extra-cflags="-DFOO_DEBUG". Can we have
some sort of alternate symbol "ALL_DEBUG" or something, such that
every debug printf is compiled? Then when developers make tree wide
changes they can at least compile test for breakages in debug printfs
using ./configure --extra-cflags="-DALL_DEBUG"? It would be fairly
trivial to implement.

Regards,
Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-31  9:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31  3:10 [Qemu-devel] [RFC] Configure option to turn on all debug printerfy Peter Crosthwaite
2012-10-31  3:22 ` Andreas Färber
2012-10-31  4:13   ` Peter Crosthwaite
2012-10-31  9:29 ` Igor Mitsyanko
2012-10-31  9:40   ` Igor Mitsyanko

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 NNTP newsgroup(s).