Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3. (20 Points) Activation Records (1): Stop the program at its second call to ba

ID: 3912666 • Letter: 3

Question

3. (20 Points) Activation Records (1): Stop the program at its second call to bar ().When I did so I got the following: (gdb) break bar Breakpoint l at 0x4004d1 (gdb) run starting program: /home/instructor/Doc 4SumI/Assign3/toAnalyze uments/Academ?c/DePaul/Classes/csC373/20178 Breakpoint 1, oxoo000000004004d1 in bar O Missing separate debuginfos, use: debuginfo-install glibc-2.17- 222.e17.x86 64 (gdb) c Continuing. Breakpoint 1, 0x00000000004004d1 in bar gdb) stepi ox0000000000400464 in bar (gab) stepi oxoo000000004004d7 in bar (gdb) stepi 0x00000000004004d9 in bar 0x00000000004004dc in bar (gdb) stepi (gdb) stepi 0x00000000004004df in bar (gdb) info reg rax rcx rdx rsi rdi rbp rsp r 8 r9 r10 r11 0x4 0x0 0x400560 4195680 0x2 0x4 0x2 ox7EffEfffdbdo OxTEEEffEEdbdo ox7fffffffdbdo oxEEfEEfdbdo ox7Efff7dd5e80 140737351868032 ??? ox7Effffffd760 140737488344928 ox7ffff7a30350 140737348043600 0x4003e0 4195296 ox7EEEEfffád30 140737488346416 0x0 0x0 0x4004df 0x4004df r13 r14 r15 0x202 IF 1 0x33 0x2b 0x0 0x0 eflags 51 cs ds es

Explanation / Answer

0 is the value for the particular address 0*00004004df and purpose would be in the activation record of bar(), but not used.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote