Debugging with GDB (September 2007)

206 Debugging with GDB
The window looks like this:
Figure 10
|-------------------------------------------------------------------------|
|fpsr 0 fpe1 0 |
|fpe2 0 fpe3 0 |
|fpe4 0 fpe5 0 |
|fpe6 0 fpe7 0 |
|fr4 0 fr4R 0 |
|fr5 1.0000000000000011 fr5R 7.00649232e-45 |
|-------------------------------------------------------------------------|
*>:32 print_average (my_list, first, last); :
:33 print_average (my_list, first, last - 3); :
:34 } :
:35 :
:36 :
:37 :
:......................................................................:
File: average.c Procedure: main Line: 32 pc: 0x3524
(gdb) la regs
(gdb) la src
(gdb) la regs
(gdb) foc next
Focus set to REGS window.
(gdb) fr
(gdb) tf
(gdb)
15.8 Changing the pane size
To specify a new height for a pane or to increase or decrease the current height, use the
winheight command (abbreviated winh or wh).
The syntax is:
winheight [win_name ] [+ | -] num_lines
If you omit win name, the pane with logical focus is resized. When you increase the
height of a pane, the height of the Comm and pane is decreased by the same amount, and
vice versa. The height of any other panes remains unchanged.
For example, the command