[prev] 37 [next]

gdb Status Commands

where -- find which function the program was executing when it crashed.

list [LINE] -- display five lines either side of current statement.

print EXPR -- display expression values

  • EXPR may use (current values of) variables.
  • Special expression a@1 shows all of the array a