Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0a970ce0
Commit
0a970ce0
authored
Jun 20, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a section about using kgdb and ddd to debug wine.
parent
90b1c2cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
debugger.sgml
documentation/debugger.sgml
+81
-0
No files found.
documentation/debugger.sgml
View file @
0a970ce0
...
...
@@ -1565,6 +1565,87 @@ monitor mem displays memory mapping of debugged process
</sect2>
<sect2>
<title>Graphical frontends to gdb</title>
<para>
This section will describe how you can debug wine using the
GDB mode of winedbg and some graphical front ends to GDB for
those of you who really like graphical debuggers.
</para>
<sect3>
<title>DDD</title>
<para>
Use the following steps, in this order:
<orderedlist>
<listitem>
<para>
Start the wine debugger with a command line
like:
<screen>
winedbg -- --gdb --no-start <name_of_exe_to_debug.exe>
</screen>
</para>
</listitem>
<listitem>
<para>Start ddd</para>
</listitem>
<listitem>
<para>In ddd, use the 'Open File' or 'Open Program' to
point to the wine executable</para>
</listitem>
<listitem>
<para>In the output of 1/, there's a line like
<screen>
target remote localhost:32878
</screen>
copy that line and paste into ddd command pane (the one with the (gdb)
prompt)
</para>
</listitem>
</orderedlist>
The program should now be loaded and up and running. If you want, you
can also add in 1/ after the name of the exec all the needed
parameters
</para>
</sect3>
<sect3>
<title>kdbg</title>
<para>
Use the following steps, in this order:
<orderedlist>
<listitem>
<para>
Start the wine debugger with a command line like:
<screen>
winedbg -- --gdb --no-start <name_of_exe_to_debug.exe>
</screen>
</para>
</listitem>
<listitem>
<para>In the output of 1/, there's a line like
<screen>
target remote localhost:32878
</screen>
Start kdbg with
<screen>
kdbg -r localhost:32878 wine
</screen>
localhost:32878 is not a fixed value, but has been printed in step
1/. 'wine' should also be the full path to the wine executable.
</para>
</listitem>
</orderedlist>
The program should now be loaded and up and running. If you want, you
can also add in 1/ after the name of the exec all the needed
parameters
</para>
</sect3>
</sect2>
<sect2>
<title>Using other Unix debuggers</title>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment