Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Summary.html
blobb014010cca21cea9c06cc8e321b3371334d6febf
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="Summary">Summary</a>,
13 Next:<a rel="next" accesskey="n" href="Sample-Session.html#Sample%20Session">Sample Session</a>,
14 Previous:<a rel="previous" accesskey="p" href="index.html#Top">Top</a>,
15 Up:<a rel="up" accesskey="u" href="index.html#Top">Top</a>
16 <hr><br>
17 </div>
19 <h2 class="unnumbered">Summary of GDB</h2>
21 <p>The purpose of a debugger such as GDB is to allow you to see what is
22 going on "inside" another program while it executes--or what another
23 program was doing at the moment it crashed.
25 GDB can do four main kinds of things (plus other things in support of
26 these) to help you catch bugs in the act:
28 <ul>
29 <li>Start your program, specifying anything that might affect its behavior.
31 <li>Make your program stop on specified conditions.
33 <li>Examine what has happened, when your program has stopped.
35 <li>Change things in your program, so you can experiment with correcting the
36 effects of one bug and go on to learn about another.
37 </ul>
39 <p>You can use GDB to debug programs written in C and C++.
40 For more information, see <a href="Support.html#Support">Supported languages</a>.
41 For more information, see <a href="C.html#C">C and C++</a>.
43 <p>Support for Modula-2 and Chill is partial. For information on Modula-2,
44 see <a href="Modula-2.html#Modula-2">Modula-2</a>. For information on Chill, see <a href="Chill.html#Chill">Chill</a>.
46 <p>Debugging Pascal programs which use sets, subranges, file variables, or
47 nested functions does not currently work. GDB does not support
48 entering expressions, printing values, or similar features using Pascal
49 syntax.
51 GDB can be used to debug programs written in Fortran, although
52 it may be necessary to refer to some variables with a trailing
53 underscore.
55 <ul class="menu">
56 <li><a accesskey="1" href="Free-Software.html#Free%20Software">Free Software</a>: Freely redistributable software
57 <li><a accesskey="2" href="Contributors.html#Contributors">Contributors</a>: Contributors to GDB
58 </ul>
60 </body></html>