Debugging with GDB (September 2007)

216 Debugging with GDB
XDB Command WDB Equivalent Meaning
I info (many kinds), show (many
kinds)
Display s tate o f debugger and pro-
gram
16.1.8 Job control commands
The following table lists the XDB and equivalent WDB commands for c ontrolling pro-
gram execution:
XDB Command WDB Equivalent Meaning
c c, continue Continue from breakpoint, ignor-
ing any pending signal
c location until location Continue from breakpoint, ignor-
ing any pending signal, set tempo-
rary breakpoint at location
C c, continue Continue, allowing any pending
signal
C [location] until location Continue, allowing any pending
signal, set temporary breakpoint
at location
g line g line (with -xdb), go line, tb line
followed by jump line
Go to line in current procedure
g #label No equivalent Go to label in current procedure
g {+ | -}lines g {+ | -}lines (with -xdb), go {+
| -}lines, tb {+ | -}lines followed
by jump {+ | -}lines
Go forward or back give n # lines
g {+ | -} g {+ | -} (with -xdb), go {+ | -}1,
tb {+ | -}1 followed by jump {+ |
-}1
Go forward or back 1 line
k k Detach and terminate target