1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
5 <meta name=
"Author" content=
"Johannes Sixt">
6 <title>KDbg - User's Manual - Program Settings
</title>
8 <body text=
"#000000" bgcolor=
"#FFFFFF">
9 <p><a href=
"index.html">Contents
</a></p>
11 The Program Settings Dialog
</h1>
12 <p>In this dialog, program specific settings can be selected. It is invoked
13 by
<i>Settings|This Program
</i>. The settings apply only to the currently loaded
14 executable and will be saved across sessions.
</p>
15 <blockquote><b><i>Important note:
</i></b> The chosen settings will only
16 apply the next time the executable is loaded into KDbg. This means that
18 <i>OK
</i> in this dialog, you must reload the executable
19 using
<i>File|Recent Executables
</i>!!
</blockquote>
23 <a href=
"#driver">Debugger
</a></li>
26 <a href=
"#output">Output
</a></li>
30 <a name=
"driver"></a>Debugger
</h2>
31 <p>In this section, the debugger to be used for the program can be chosen.
</p>
33 How to invoke GDB
</h4>
35 <blockquote>Enter the command to invoke gdb. Leave this field empty to
36 use the default gdb command as specified in the
<a href=
"globaloptions.html">global
37 options
</a>. When you are cross-compiling and remote-debugging, you will
38 probably want to use a different gdb suitable for the target platform.
39 The default command is
<tt>gdb --fullname --nx
</tt>. Be sure to specify
40 at least
<tt>--fullname
</tt> if you change the gdb command.
41 If you remove this command switch, KDbg will not work.
45 <a name=
"output"></a>Output
</h2>
46 <p>In this section, the terminal emulation under which the program will run
49 No input and output
</h4>
51 <blockquote>Check this option if your program does not receive input from
52 the terminal and you do not want to see the output that the program writes
53 to
<tt>stdout
</tt> and
<tt>stderr
</tt> (if any). All three standard channels
54 (
<tt>stdin
</tt>,
<tt>stdout
</tt>, and
<tt>stderr
</tt>) are effectively
55 redirected to
<tt>/dev/null
</tt>.
</blockquote>
58 Only output, simple terminal emulation
</h4>
60 <blockquote>Check this option if your program does not receive input from
61 the terminal (
<tt>stdin
</tt> will be redirected to
<tt>/dev/null
</tt>),
62 and the output that it writes to
<tt>stdout
</tt> and
<tt>stderr
</tt> does
63 not require sophisticated terminal emulation. The output will be shown
64 in the
<a href=
"pgmoutput.html">Output window
</a>.
</blockquote>
67 Full terminal emulation
</h4>
69 <blockquote>Check this option if your program reads input from
<tt>stdin
</tt>
70 or if the output to
<tt>stdout
</tt> or
<tt>stderr
</tt> requires terminal
71 emulation. A terminal emulator will be invoked as specified in the
<a href=
"globaloptions.html">global
72 options
</a>.
</blockquote>