Homework Submission#
Your writeup should follow the writeup guidelines. Even if a certain question is just a “step”, please include it in your report and simply write “done” for the sake of easy grading (e.g. Debug an Application section’s first question is just a step, so please write “1. done”).
GDB Tutorial
Describe how you do the following in gdb (each 3 lines max.):
Add a breakpoint.
Remove a breakpoint.
Inspect a variable value.
Step through program execution without a breakpoint.
C – answer the questions about C pointers, compilers, and executables from the C Refresher section.
Debug – answer the questions about debugging an application from the Debug an Application section.
Deliverables#
In summary, upload the following in their respective links in canvas:
one tarball from the Debug an Application section.
Quick linux commands for tar files
# Compress tar -cvzf <file_name.tgz> directory_to_compress/ # Decompress tar -xvzf <file_name.tgz>
writeup in pdf.