Lab 2: Debugger

Due

This is a one-week lab assignment! It is due:

September 24th, 1:20pm

Introduction

In this lab, you will be gaining experience with the debugger. As always, you should work with your partner. Here is a detailed description of what you have to do: debugger lab instructions.

You will find it helpful to refer to our quick gdb info page. You may also want to download the gdb reference card from the University of Texas. If you print it double-sided, you can fold it in thirds and even fit it in a pocket.

Doing the lab will require that you download two simple programs (don't edit them!). Here they are:

  1. https://www.cs.hmc.edu/~beth/courses/cs105/labs/debugger/problem1.c

  2. https://www.cs.hmc.edu/~beth/courses/cs105/labs/debugger/problem2.c

Submission

Deadline: Friday September 24, 2021, 1:20pm

From the command line on wilkes in your lab directory type

cs105submit -a 02 lab02.txt

You should get a response that 1 file has been submitted and that you will get an email confirming your submission. Note, you can resubmit as often as you want up to the deadline. Only the most recent submission will be graded.