[FE training-materials-updates] sysdev-application-debugging: remove the jobcontrol part

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Jul 24 21:25:00 CEST 2014


Repository : git://git.free-electrons.com/training-materials.git

On branch  : sysdev-xplained
Link       : http://git.free-electrons.com/training-materials/commit/?id=84c6f5edcc3573fa9b1250e8f4d0e92abfd6a46a

>---------------------------------------------------------------

commit 84c6f5edcc3573fa9b1250e8f4d0e92abfd6a46a
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Thu Jul 24 21:24:22 2014 +0200

    sysdev-application-debugging: remove the jobcontrol part
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


>---------------------------------------------------------------

84c6f5edcc3573fa9b1250e8f4d0e92abfd6a46a
 .../sysdev-application-debugging.tex               |   34 +-------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/labs/sysdev-application-debugging/sysdev-application-debugging.tex b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
index 8c6fbb5..12f5206 100644
--- a/labs/sysdev-application-debugging/sysdev-application-debugging.tex
+++ b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
@@ -11,7 +11,7 @@ Go to the \code{$HOME/felabs/sysdev/debugging} directory.
 \section{Debugging setup}
 
 Boot your ARM board over NFS on the filesystem produced in the {\em
-  Tiny embedded system} lab, with the same kernel.
+  Using a build system, example with Buildroot} lab, with the same kernel.
 
 %\section{Setting up gdbserver, strace and ltrace}
 \section{Setting up gdbserver and strace}
@@ -23,38 +23,6 @@ toolchain. Find them in the installation directory of your
 toolchain. Copy these binaries to the \code{/usr/bin/} directory in
 the root filesystem of your target system.
 
-\section{Enabling job control}
-
-In this lab, we are going to run a buggy program that keeps hanging
-and crashing.  Because of this, we are going to need job control, in
-particular \code{[Ctrl] [C]} allowing to interrupt a running program.
-
-At boot time, you probably noticed that warning that job control was
-turned off:
-
-\begin{verbatim}
-/bin/sh: can't access tty; job control turned off
-\end{verbatim}
-
-This happens when the shell is started in the console. The system
-console cannot be used as a controlling terminal.
-
-The fix is to start this shell in ttyS0 (the debug serial port on
-the sama5d3 Xplained board) by modifying the \code{/etc/inittab} file:
-
-Replace
-\begin{verbatim}
-::askfirst:/bin/sh
-\end{verbatim}
-which implied the use of the system console device by
-\begin{verbatim}
-ttyS0::askfirst:/bin/sh
-\end{verbatim}
-to tell the \code{init} program to start the shell on \code{/dev/ttyS0}
-
-Now reboot. You should no longer see the \code{Job control turned off}
-warning, and should be able to use \code{[Ctrl] [C]}.
-
 \section{Using strace}
 
 \code{strace} allows to trace all the system calls made by a process:



More information about the training-materials-updates mailing list