Debugging with GDB (February 2008)

Table Of Contents
Chapter 16: XDB to WDB Transition Guide 215
{+ | -}r {+ | -}r (with -xdb -tui), {+ | -} data (with -tui) Scroll floating-point reg-
isters forward or back-
ward (src, cmd, and asm
are also valid window
names)
fr fr (with -xdb -tui), display $fregs (with -tui) Display floating-point
registers
gr gr (with -xdb -tui), display $regs (with -tui) Display general registers
sr sr (with -xdb -tui), display $sregs (with -tui) Display special registers
td td (with -xdb -tui) Toggle disassembly
mode
tf tf (with -xdb -tui), toggle $fregs (with -tui) Toggle float register dis-
play precision
ts ts (with -xdb -tui) Toggle split-screen mode
u u (with -xdb -tui), update (with -tui) Update screen to current
execution point
U U (with -xdb -tui), refresh (with -tui) Refresh all windows
w
number
w number (with -xdb -tui), winheight src
number (with -tui)
Set size of source window
16.1.3 File viewing commands
The following table lists the XDB and the equivalent WDB commands for viewing source
files:
XDB Command WDB Equivalent Meaning
{+ | -}[number] {+ | -}[ number] (with -tui; note
that a space is required between +
or - and the number)
Move view location forward or
backward in source file number
lines