[PATCH] [WineDbg]: allow to specify which format to be used for integers in backtraces

Eric Pouech eric.pouech at orange.fr
Fri Mar 19 15:00:40 CDT 2010

Dmitry Timoshkov a écrit :
> Eric Pouech <eric.pouech at orange.fr> wrote:
>>> Can I ask again, why to jump through the hoops if all required information
>>> is already there in appropriate and ready to use/easy to understand format?
>> because others users want information in decimal, as any other debugger 
>> does.
>> and I do.
> It doesn't really matter what other debuggers do. But it does matter to have
> backtraces and general output in hex because this:
> 1. matches Wine relay logs
> 2. helps to easily recognize things like user and gdi handles, relative to
> module and heap base offsets, window styles, messages, many special constants
> which are in hex in win32, wine internal messages, WM_USER/WM_APP+xxx/common
> controls messages
> 3. a lot of other things
> I do care, because I have to dayly look at huge amount of logs, and having
> backtraces print data in hex makes my life enormously easiler.
hmm sounds like most of the code we have in not in sync

[eric:~/work/wine-git debug64|(none)]$ grep TRACE dlls/*/*.c | grep 
"%[0-9]*d" | wc -l
[eric:~/work/wine-git debug64|(none)]$ grep TRACE dlls/*/*.c | grep 
"%[0-9]*x" | wc -l


Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)

More information about the wine-devel mailing list