From ed77a6c30ee36bb6b9ed0a875975b600d30600c9 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Fri, 5 Sep 2014 10:30:14 +0200
Subject: yocto-basics: add hints for remote debugging

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 distribution/yocto-basic/pres_yocto-basic.tex | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

(limited to 'distribution/yocto-basic/pres_yocto-basic.tex')

diff --git a/distribution/yocto-basic/pres_yocto-basic.tex b/distribution/yocto-basic/pres_yocto-basic.tex
index 1f5083d..c75c7ba 100644
--- a/distribution/yocto-basic/pres_yocto-basic.tex
+++ b/distribution/yocto-basic/pres_yocto-basic.tex
@@ -1399,11 +1399,23 @@ interfaces of the PC
 \begin{frame}
 \frametitle{remote execution and debugging}
 \begin{itemize}
-	\item Switch to 'Remote System Explorer' perspective
+	\item switch to 'Remote System Explorer' perspective
 	\pause
-	\item Create a new 'TCF' connection
+	\item create a new 'TCF' connection
 	\pause
-	\item Run as / Debug as and select the speficied remote connection
+	\item switch to 'C/C++' perspective and select 'Run / Debug Configurations'
+	\pause
+	\item select the preconfigured 'C/C++ Application' and select the correct
+		'Connection'
+	\pause
+	\item set 'Remote Absolute File Path' to sth. like '/usr/bin/<yourapp>'
+	\pause
+	\item select the 'Debugger' tab and set 'gdb' to the deugger of your
+		toolchain; e.g.
+		'/home/devel/poky/build/tmp/sysroots/x86\_64-linux/usr/bin/i586-poky-linux-none/i586-poky-linux-gnueabi-gdb'
+	\pause
+	\item select 'Apply', 'Debug' - Next time you can use this preconfigured debug
+		configuration
 \end{itemize}
 \end{frame}
 
-- 
cgit v1.2.3

