7. Homework Submission¶
Your writeup should follow the writeup guidelines. Your writeup should include the following:
Tools
Provide your AWS Account Id.
Provide AWS A1 instance system information and gcc version.
Provide a screenshot of your current AWS credit usage.
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.
Debug
Provide the correct output from the terminal.
Provide code for the corrected function including the Makefile.
Include a description of how you used the tools to identify the bug. (Or confirm a hypothesis you formed about the location of the bug) (5 lines max.)
Answer the question about GDB. (3 lines max.)
Provide code for the
insert_in_order
function, including Makefile.
C – answer the questions about C pointers, compilers, and executables from the C Refresher section.