gcc – o (2.1.out executable file can be arbitrary) 2.1.c Compile this program (vim has automatic incomplete code function.. I will learn later) and then The compiled program adds executable permissions. Chmod +x a.out./2.1.out The above file name run command
Debug gdb environment: terminal input gdb start debugging gcc -g -o a.debug ac ##Generate a.debug debug file (this The file can also be run) ####### Add the -g parameter so that the compiled executable can be tested by gdb. File a.debug ####Command loader a.debuglist 1 ####### can display the original code break n #########Set breakpoints info breakpoints ######## #View all breakpoints next ############ commands, the program will stop the next line, "continue", the program will stop at the next breakpoint run ####### Enter the following command to run the program. Print i #####View the value of the breakpoint i q ####### Exit gdb (I don't think gdb is a good debugging environment, I feel that there is no eclipse under Linux, it can also debug c in c++ program. Hope to master)
View memory:\\b
Just as Hong Kong is still engaged in tug-of-war on the issue of electronic textbooks for bookseller
Regarding the circuit structure, whether it is a linear power supply, a thyristor power supply or
badblocks is the command or utility in linux like operating system which can scan or test our hard d
#ls -l | Wc -l Note: The total usage also takes 1 row, so the statistics are 14 instead of 13 Other
Solve SecureCRT Chinese garbled
Linux configuration and deployment of the Flex development environment eclipse
Manage xen save, stop, and pause using the character tool xm
Compression and decompression methods for common compression formats under Linux
Linux common compression decompression command set
Linux traffic monitoring script
Installing DNS server under Linux to forward client request
How popular is Ubuntu Linux? Data tells you
The user finds that the Cortana file is blocked and causes the Win10 system to fail to restore.
Win7 can not set the solution for the network location
Microsoft pushes KB3140741 update for Windows 10 official version
Win10 boot sound is gone? Win10 boot sound setting method
Push Win7! Ballmer went to Taiwan to promote the speed change of large hardware manufacturers
Seven ways to secure the win7 system
How to turn off Win7 System Management Share
How to fight famine mechanical rhinoceros Famine mechanical rhinoceros play Raiders