See also the GDB manual.

Handy GDB commands

Starting/stopping

Register examination

Memory examination