OSDN Git Service

fdce956afec99afa2a3e7137fec82ef06e6dccb3
[pf3gnuchains/pf3gnuchains4x.git] / gdb / gdbtk / library / help / trace / console.html
1 <HTML>
2 <HEAD>
3 <TITLE>Console Window Help</TITLE>
4 </HEAD>
5 <BODY>
6 <H1>The Console Window</H1>
7 <H3>Overview</H3>
8 <P>The Console Window is perhaps the most powerful tool in the debugger. It
9 provides functionality equivalent to almost all of the debugger's secondary
10 windows, macro definitions, and other more advanced features.</P>
11
12 <P>Console Window topics:
13 <UL>
14     <LI><UL><A HREF="#display">Console Display</A>
15             <LI><A HREF="#display_cmd">Executing Commands</A>
16             <LI><A HREF="#display_hlp">Getting Help</A>
17         </UL>
18 </UL></P>
19
20 <H3><A NAME="display">Console Display</A></H3>
21 The Console Display is simply a scrolled window in which the debugger prompt
22 appears. By default, the prompt is set to "(gdb) ", but it may be changed via a
23 command line option.
24
25 <P>To <A NAME="display_cmd">execute commands</A> in the console window, simply enter
26 the command in the display. If the debugger is busy, the message "Error: The
27 debugger is busy." appears informing the user that the command was not accepted.</P>
28
29 <P>Whenever a command is executed, the debugger's windows will update to display
30 any new state information. Any output from the command is also echoed to the Console
31 Window for ease of use. If an error occurs, an error message is printed to the Console
32 Window. All error messages appear in the Console Window using a red colored typeface.
33 </P>
34
35 <P>The Console Window responds to special character commands just as a shell window
36 does: it has a history mechanism which allows the user to scan previously used commands
37 by pressing the up and down arrow keys on the keyboard, jumping to the beginning or
38 end of a line by entering Ctrl-A or Ctrl-E, erasing a line by pressing Ctrl-K, and
39 more. Users familiar with GNU Emacs will recognize these keys as commonly used
40 keystrokes from that editor.</P>
41
42 <H3><A NAME="display_hlp">Getting Help</A></H3>
43 The Console Window has its own online help system. To access the help system, enter
44 "help" at the prompt and follow the on-screen instructions. For more help, please
45 consult the <!-- What is this really called? --> <I>GDB User's Guide</I>.
46 </BODY>
47 </HTML>