• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/share/doc/arm-arm-none-eabi/html/gdb/
1<html lang="en">
2<head>
3<title>Screen Size - 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.13">
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Controlling-GDB.html#Controlling-GDB" title="Controlling GDB">
9<link rel="prev" href="Command-History.html#Command-History" title="Command History">
10<link rel="next" href="Numbers.html#Numbers" title="Numbers">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12<!--
13Copyright (C) 1988-2013 Free Software Foundation, Inc.
14
15Permission is granted to copy, distribute and/or modify this document
16under the terms of the GNU Free Documentation License, Version 1.3 or
17any later version published by the Free Software Foundation; with the
18Invariant Sections being ``Free Software'' and ``Free Software Needs
19Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,''
20and with the Back-Cover Texts as in (a) below.
21
22(a) The FSF's Back-Cover Text is: ``You are free to copy and modify
23this GNU Manual.  Buying copies from GNU Press supports the FSF in
24developing GNU and promoting software freedom.''
25-->
26<meta http-equiv="Content-Style-Type" content="text/css">
27<style type="text/css"><!--
28  pre.display { font-family:inherit }
29  pre.format  { font-family:inherit }
30  pre.smalldisplay { font-family:inherit; font-size:smaller }
31  pre.smallformat  { font-family:inherit; font-size:smaller }
32  pre.smallexample { font-size:smaller }
33  pre.smalllisp    { font-size:smaller }
34  span.sc    { font-variant:small-caps }
35  span.roman { font-family:serif; font-weight:normal; } 
36  span.sansserif { font-family:sans-serif; font-weight:normal; } 
37--></style>
38<link rel="stylesheet" type="text/css" href="../cs.css">
39</head>
40<body>
41<div class="node">
42<a name="Screen-Size"></a>
43<p>
44Next:&nbsp;<a rel="next" accesskey="n" href="Numbers.html#Numbers">Numbers</a>,
45Previous:&nbsp;<a rel="previous" accesskey="p" href="Command-History.html#Command-History">Command History</a>,
46Up:&nbsp;<a rel="up" accesskey="u" href="Controlling-GDB.html#Controlling-GDB">Controlling GDB</a>
47<hr>
48</div>
49
50<h3 class="section">22.4 Screen Size</h3>
51
52<p><a name="index-size-of-screen-1573"></a><a name="index-pauses-in-output-1574"></a>
53Certain commands to <span class="sc">gdb</span> may produce large amounts of
54information output to the screen.  To help you read all of it,
55<span class="sc">gdb</span> pauses and asks you for input at the end of each page of
56output.  Type &lt;RET&gt; when you want to continue the output, or <kbd>q</kbd>
57to discard the remaining output.  Also, the screen width setting
58determines when to wrap lines of output.  Depending on what is being
59printed, <span class="sc">gdb</span> tries to break the line at a readable place,
60rather than simply letting it overflow onto the following line.
61
62   <p>Normally <span class="sc">gdb</span> knows the size of the screen from the terminal
63driver software.  For example, on Unix <span class="sc">gdb</span> uses the termcap data base
64together with the value of the <code>TERM</code> environment variable and the
65<code>stty rows</code> and <code>stty cols</code> settings.  If this is not correct,
66you can override it with the <code>set height</code> and <code>set
67width</code> commands:
68
69     
70<a name="index-set-height-1575"></a>
71<a name="index-set-width-1576"></a>
72<a name="index-show-width-1577"></a>
73<a name="index-show-height-1578"></a>
74<dl><dt><code>set height </code><var>lpp</var><dt><code>set height unlimited</code><dt><code>show height</code><dt><code>set width </code><var>cpl</var><dt><code>set width unlimited</code><dt><code>show width</code><dd>These <code>set</code> commands specify a screen height of <var>lpp</var> lines and
75a screen width of <var>cpl</var> characters.  The associated <code>show</code>
76commands display the current settings.
77
78     <p>If you specify a height of either <code>unlimited</code> or zero lines,
79<span class="sc">gdb</span> does not pause during output no matter how long the
80output is.  This is useful if output is to a file or to an editor
81buffer.
82
83     <p>Likewise, you can specify &lsquo;<samp><span class="samp">set width unlimited</span></samp>&rsquo; or &lsquo;<samp><span class="samp">set
84width 0</span></samp>&rsquo; to prevent <span class="sc">gdb</span> from wrapping its output.
85
86     <br><dt><code>set pagination on</code><dt><code>set pagination off</code><dd><a name="index-set-pagination-1579"></a>Turn the output pagination on or off; the default is on.  Turning
87pagination off is the alternative to <code>set height unlimited</code>.  Note that
88running <span class="sc">gdb</span> with the <samp><span class="option">--batch</span></samp> option (see <a href="Mode-Options.html#Mode-Options">-batch</a>) also automatically disables pagination.
89
90     <br><dt><code>show pagination</code><dd><a name="index-show-pagination-1580"></a>Show the current pagination mode. 
91</dl>
92
93   </body></html>
94
95