automate winedbg IDE integration

Eric Pouech eric.pouech at orange.fr
Sun Apr 15 12:12:12 CDT 2012


Le 14/04/2012 22:41, Ilya Basin a écrit :
> I've already written a wrapper (see my other mail winedbg-eclipse -
> winedbg wrapper for Eclipse IDE)
> There are some problems, however.
>
> EP>  do you have a trace of the gdb commands ?
>
> gdb --version
> gdb --interpreter mi2 --nx
>
> 1-list-features
> 2-environment-cd /media/ARCHLINUXOLD/1/builds/wine/src/wine/programs/regedit
> 3-gdb-set breakpoint pending on
> 4-gdb-set detach-on-fork on
> 5-enable-pretty-printing
> 6source .gdbinit
> 7-gdb-set target-async off
> 8-gdb-set auto-solib-add on
> 9-file-exec-and-symbols --thread-group i1 /media/ARCHLINUXOLD/1/builds/wine/src/wine/programs/regedit/regedit.exe.so
> 10-gdb-set --thread-group i1 args testexport
> 11-list-thread-groups --available
> 12-break-insert --thread-group i1 -f /media/ARCHLINUXOLD/1/builds/wine/src/wine/programs/regedit/regproc.c:1092
> 13-break-insert --thread-group i1 -f /media/ARCHLINUXOLD/1/builds/wine/src/wine/programs/regedit/regproc.c:1111
> 14-break-insert --thread-group i1 -t -f main
> 15-inferior-tty-set --thread-group i1 /dev/pts/0
> 16-exec-run --thread-group i1
>
>
>
IMO you're debugging a 64 bit target, and remote protocol seems to 
suffer some bugs in this case
I'll send a fix later on...
A+

-- 
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