From 81375def2a41a20c1725223ec9a6afe65847351f Mon Sep 17 00:00:00 2001
From: Per <Per Lindgren>
Date: Tue, 28 Feb 2017 11:36:28 +0000
Subject: [PATCH] docs

---
 README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ea7b61a..5ef8f60 100644
--- a/README.md
+++ b/README.md
@@ -42,10 +42,18 @@ Notice, the itmdump tool must be started BEFORE the openocd session (see Debug)
 
 ## Debug 
 
+### Setup
+
+Select the boxed `d7020e_srp Debug oldgdb`, and click the cogwheel. 
+Under Debugger/GDB Client Setup, change the path to the executable 
+(/home/arch/Downloads/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gdb).
+
+### Run/Debug
+
 To run the program you will use the debugger integrated in eclipse. It uses openocd to communicate with the nucleo board, and gdb to 
 flash the image (generated .elf file) and interact (running, stepping, setting breakpoints etc.).
 
-Click on the select the boxed `d7020e_srp Debug oldgdb` and click the boxed green bug icon. (There are other ways as well.)
+Select the boxed `d7020e_srp Debug oldgdb` and click the boxed green bug icon. (There are other ways as well.)
 
 This will start openocd and gdb, and by default break at main. To execute the program to end, click the play icon.
 
-- 
GitLab