Macro names instead of numbers in logs

Marcus Meissner marcus at
Sun Sep 12 03:41:27 CDT 2010

On Sun, Sep 12, 2010 at 10:38:09AM +0200, Florian Köberle wrote:
>  On 09/11/2010 11:34 PM, Dylan Smith wrote:
> > 2010/9/7 Mariusz Pluciński <vshader at <mailto:vshader at>>
> >
> >     In my opinion it would be good to make it available in similar
> >     way, as functions like debugstr_guid, which are defined in
> >     include/wine/debug.h
> >
> >     Messages' names are declared as an array MessageTypeNames in spy.c
> >     . Maybe it would be enough to copy it into the header and wrap
> >     access to it into simple function like debugstr_msg()? This is
> >     easiest way, but in the result there will be copy of array in each
> >     .so library. There will be also problem with multiple reference,
> >     but this may be solved following solution used in test.h.
> >
> > Storing the string table in would avoid having a copy of
> > the array in each .so library that uses it.
> >
> >
> >
> Can stuff in libwine be used by tests? Does libwine get linked into
> cross test executables?

I do not think so, for both.

I also think Alexandres take on such "more debugging" things was more towards
a postprocessing script that annotates the debugging output (like
a small perl script), but I am leaving that for him to comment ;)

Ciao, Marcus

More information about the wine-devel mailing list