From 3e239743b80129e03a4b96aa6b5fcd50a37bb50d Mon Sep 17 00:00:00 2001
From: Emil Kitti <emil.kitti@outlook.com>
Date: Fri, 26 Jan 2018 18:22:11 +0100
Subject: [PATCH] bare0_1

---
 examples/bare0.rs | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/examples/bare0.rs b/examples/bare0.rs
index cb4eb7e..80ac35a 100644
--- a/examples/bare0.rs
+++ b/examples/bare0.rs
@@ -30,16 +30,23 @@ fn main() {
 // 1. run the program in the debugger,
 //    let the program run for a while and then press pause
 //    look in the (Local -vscode) Variables view what do you find
-//    ** your answer here **
+//
+//    (gdb) info locals
+//    x = 6686607
 //
 //    in the Expressions (WATCH -vscode) view add X and Y
 //    what do you find
 //
-//    ** your answer here **
+//    (gdb) print X
+//    $19 = 6686606
+//    (gdb) print Y
+//    $20 = 6686606
+//
 //    step through one complete iteration of the loop
 //    and see how the (Local) Variables are updated
 //    can you foresee what will eventually happen?
-// 	  ** place your answer here **
+//
+//    The unsigned 32 bit variable will eventually overflow.
 //
 //    commit your answers (bare0_1)
 //
-- 
GitLab