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”).

  1. GDB Tutorial

    1. Describe how you do the following in gdb (each 3 lines max.):

      1. Add a breakpoint.

      2. Remove a breakpoint.

      3. Inspect a variable value.

      4. Step through program execution without a breakpoint.

  2. C – answer the questions about C pointers, compilers, and executables from the C Refresher section.

  3. 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.

  • writeup in pdf.