<div class="gmail_quote">2010/8/4 André Hentschel <span dir="ltr">&lt;<a href="mailto:nerv@dawncrow.de">nerv@dawncrow.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
what is the best/easiest/fastest way to hack Wine so it does not start winedbg and i can debug it with gdb?<br>
my problem is that my WineARM works so far that it tries to run winedbg and uses its own handlers. but i want that not to happen<br>
of course it crashes somewhere and then tries to start winedbg... but winedbg is not really implemented yet on arm and its not yet time for it. i just want to debug on assembler level with gdb...<br>
&quot;winedbg --gdb&quot; is also not what i want.<br>
<br>
So my understanding is that Wine somewhere register its exception handlers, but i cant find that code to disable it. Anyone?<br>
<font color="#888888"><br><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#888888"><br></font></font></font></blockquote><div>winedbg is set as the debugger in the registry:</div><div>

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug</div><div>Auto=1</div><div>Debugger=&quot;winedbg --auto %ld %ld&quot;</div><div><br></div><div>You should be able to disable it by setting the value Auto=0, or you could change the Debugger to use gdb.</div>

</div>