Debug a dos program ?
Sylvain Petreolle
spetreolle at yahoo.fr
Thu Feb 27 19:21:54 CST 2003
Trying to debug a simple dos program (for example the eicar antivirus
test string, attached), I cant figure how to do it with wine.
- Loading a debugger like microsoft's debug or the freedos one doesnt
work, if you try to do a 't' to go to the next instruction, you go into
the debugger.
Do a "walk process" and your program isnt here.
- Using winedbg doesnt work too.
Doing a 'cont' seems to launch the program and it exits.
trying to add delayed A-bp
f00d 0000:0805a000
Stopped on breakpoint 1 at 0x0805a000 (__wine_exe_main [wine.spec.c:69]
in wine)
69 {
In 32-bit mode.
Wine-dbg>cont
<... Loading dlls debug info snipped>
Warning: unprotecting the first 64KB of memory to allow real-mode
calls.
NULL pointer accesses will no longer be caught.
err:int:DOSVM_Loop MsgWaitForMultipleObjects returned unexpected value.
Invalid address for breakpoint 1, disabling it
Invalid address for breakpoint 2, disabling it
Process of pid=0000000a has terminated
Wine-dbg>
Am I missing something here ?
=====
Sylvain Petreolle
spetreolle at users.sourceforge.net
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eicar.com
Type: application/octet-stream
Size: 68 bytes
Desc: eicar.com
Url : http://www.winehq.org/pipermail/wine-users/attachments/20030228/e90dbc74/eicar.obj
More information about the wine-users
mailing list