gcc -g program-name
gcc command is used for compiling the application for the gdb debugging symbols.
gdb binary-file
gdb command is used to attach the binary file to the gdb. or just use gdb in the command line then attache binary file and use file gdb command to attach the binary file to gdb.
gcc command is used for compiling the application for the gdb debugging symbols.
gdb binary-file
gdb command is used to attach the binary file to the gdb. or just use gdb in the command line then attache binary file and use file gdb command to attach the binary file to gdb.
GDB commands
No comments:
Post a Comment