Debugging with GDB (September 2007)

202 Debugging with GDB
15.5 Changing pane focus
The command pane always has keyboard fo cus, so that you can enter debugger com-
mands. If there is only one other pane (Source or Disassembly), the other pane has the
logical focus, so that you can scroll within that pane by using the arrow keys or the
h
Page Up
i
and
h
Page Down
i
keys (on some keyboards these are
h
Prev
i
and
h
Next
i
).
Note: In the command pane, the scrolling behavior only works for an hpterm and not
for an xterm or dtterm’.
If you are in split-screen mode, you may want to change the logical focus of the pane.
To do so, use the command
focus {win_name | prev | next}
where win name can be src, asm, regs, or cmd.
Remember, if you change the fo c us to a pane other than the command pane, you need to
use focus cmd to switch back to the command pane to enter or scroll through commands.
For example, with the sequence of commands just issued, you are in split-screen mode
with the focus in the Source pane.
The pane with logical focus has a border constructed from "|" and "-".
A pane that does not have logical foc us has a border constructed from ":"vand ".":
Figure 7