Linux kernel
GDB: add-symbol-file <.o file> <address> info line <*(func + offset)> list <line no> list *<ADDR> <--- list code for ADDR disassemble <API> <--- Assembly for that API disassemble /m ------ show assembly and code --- Change the source directory gdb>directory <new_dir_path> gdb>set substitute-path <old path> <new dir path> Find the length of main function: readelf -s a.out | grep main Git: > git checkout master - checkout master branch > git checkout <branch> - Checkout branch > git checkout -b <branch> - create and checkout brnach > git add -u :/ - add all files to staged area > git commit -s > git commit -s --amend -> Update top commit > git push qca HEAD:refs/for/master - Push to Gerrit > git rebase --iteractive <commit>^ - To brig lower commit to top and then updated it - Then git rebase --continue > git ...