Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)
|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)
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 Command pane is decreased by the same amount, and vice versa. The
height of any other panes remains unchanged.
For example, the command
wh src +3
increases the size of the source pane, and decreases the size of the command pane, by 3 lines.
To find out the current sizes of all panes, use the info win command. For example, if you have a
split-screen layout, the command output might be as follows:
(gdb) i win
SRC (8 lines)
REGS (8 lines)
CMD (8 lines)
If you use the mouse or window menus to resize the terminal window during a debugging session,
the window remains the same size it was when you started. To change the window size, you must
exit the debugger and restart it.
Refreshing and updating the window
If the screen display is disrupted for some reason, use the refresh command (ref) to restore the
windows to their previous state:
ref
Use the following command to automatically refresh the window.
set tui-auto-refresh on
Use the following command to display the status of automatic screen refresh feature.
show tui-auto-refresh
Changing the pane size 193