[Bug 845] New: - gcc Remote debugging

wine-bugs at winehq.com wine-bugs at winehq.com
Mon Jul 1 12:15:33 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=845

           Summary: gcc Remote debugging
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wine-debug
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: fgouget at codeweavers.com


The idea is to use gdb's remote debugging feature to use it and debug
Wine/Winelib applications.

There are two main reasons why gdb cannot be used to debug Wine applications
directly:
* threading (Wine does weird things with threading and gdb does not know about them)
* 16-bit support (gdb does not know about segmented 16-bit pointers for instance)
(note that despite these issues you can use gdb directly in some cases, but you
will not be able to fully take advantage of it)

The goal behind this would be to:
 * hopefully reduce the amount of code we have to maintain (e.g. code to support
DWARF2)
 * benefit from a mature multi-platform debugger
 * take advantage of the graphical gdb front-ends

Relevant discussion threads:
 * 2001/04/20 - Ove Kaaven - GDB remote debugging for wine
   http://www.winehq.com/hypermail/wine-devel/2001/04/0123.html

 * 2002/04/13 - Mike Wetherell - benefit from a mature debugger
  
http://groups.google.com/groups?hl=en&lr=&selm=6xUt8.14322%24sL6.2032145%40news11-gui.server.ntli.net

 * 2002/05/22 - Tijs van Bakel - Improving debugging (gdb) support
   http://www.winehq.com/hypermail/wine-devel/2002/05/0613.html

 * 2002/05/23 - Eric Pouech - Re: Improving debugging (gdb) support
   Eric experimented with gdb's remote debugging capabilities and posted an
informative thread.
   http://www.winehq.com/hypermail/wine-devel/2002/05/0659.html

 * See also this comparison matrix by Eric Pouech
   http://perso.wanadoo.fr/eric.pouech/wine_and_gdb.html

 * 2002/06/05 - Michael Cardenas - Re: Improving debugging (gdb) support
   http://www.winehq.com/hypermail/wine-devel/2002/06/0005.html

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=845>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list