Professional Documents
Culture Documents
========================================
this includes:
Tip: Check the size of binary with and without debugging symbols
$ gdb ./binaryfile
or
$ gdb
This means you will be provided with a prompt at which you can type commands.
(gdb)
Basic Commands
=================
To exit GDB, use the quit command (abbreviated q) or type an end-of-file character
(usually Ctrl-d).
(gdb)quit
The "-q" (or "--quiet") option on the command line just tells GDB not to print
version information on startup.
(gdb)quiet
Help
====================
If you’re ever confused about a command or just want more information, use the
“help” command, with or without an argument: