Gdb skills - part 2
Keep sharing some gdb skills, more advanced. x.gdb Writing the gdb commands inside the x.gdb file so that we don’t need to spedify the commands every time. set logging on Usually the gdb outcome would not be stored, we can use set loging on, then the output would be stored in gdb.txt, this is useful when we need to print a lot of things, we can print them all in the log, then review the output later, or we can compare log in different runs. ...