Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Cygwin-Native.html
blob74ad70d6f994a98aa91075c7514b63dfa58ed412
1 <html lang="en">
2 <head>
3 <title>Debugging with GDB</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Debugging with GDB">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Cygwin%20Native">Cygwin Native</a>,
13 Previous:<a rel="previous" accesskey="p" href="DJGPP-Native.html#DJGPP%20Native">DJGPP Native</a>,
14 Up:<a rel="up" accesskey="u" href="Native.html#Native">Native</a>
15 <hr><br>
16 </div>
18 <h4 class="subsection">Features for Debugging MS Windows PE executables</h4>
20 GDB supports native debugging of MS Windows programs, and
21 defines a few commands specific to the Cygwin port. This
22 subsection describes those commands.
24 <dl>
25 <dt><code>info w32</code>
26 <dd>This is a prefix of MS Windows specific commands which print
27 information about the target system and important OS structures.
29 <br><dt><code>info w32 selector</code>
30 <dd>This command displays information returned by
31 the Win32 API <code>GetThreadSelectorEntry</code> function.
32 It takes an optional argument that is evaluated to
33 a long value to give the information about this given selector.
34 Without argument, this command displays information
35 about the the six segment registers.
37 <br><dt><code>info dll</code>
38 <dd>This is a Cygwin specific alias of info shared.
40 <br><dt><code>dll-symbols</code>
41 <dd>This command loads symbols from a dll similarly to
42 add-sym command but without the need to specify a base address.
44 <br><dt><code>set new-console </code><var>mode</var><code></code>
45 <dd>If <var>mode</var> is <code>on</code> the debuggee will
46 be started in a new console on next start.
47 If <var>mode</var> is <code>off</code>i, the debuggee will
48 be started in the same console as the debugger.
50 <br><dt><code>show new-console</code>
51 <dd>Displays whether a new console is used
52 when the debuggee is started.
54 <br><dt><code>set new-group </code><var>mode</var><code></code>
55 <dd>This boolean value controls whether the debuggee should
56 start a new group or stay in the same group as the debugger.
57 This affects the way the Windows OS handles
58 Ctrl-C.
60 <br><dt><code>show new-group</code>
61 <dd>Displays current value of new-group boolean.
63 <br><dt><code>set debugevents</code>
64 <dd>This boolean value adds debug output concerning events seen by the debugger.
66 <br><dt><code>set debugexec</code>
67 <dd>This boolean value adds debug output concerning execute events
68 seen by the debugger.
70 <br><dt><code>set debugexceptions</code>
71 <dd>This boolean value adds debug ouptut concerning exception events
72 seen by the debugger.
74 <br><dt><code>set debugmemory</code>
75 <dd>This boolean value adds debug ouptut concerning memory events
76 seen by the debugger.
78 <br><dt><code>set shell</code>
79 <dd>This boolean values specifies whether the debuggee is called
80 via a shell or directly (default value is on).
82 <br><dt><code>show shell</code>
83 <dd>Displays if the debuggee will be started with a shell.
85 </dl>
87 </body></html>