summaryrefslogtreecommitdiff
path: root/kernel-devel/kernel-debugging
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-04-19 11:03:45 +0200
committerJohn Ogness <john.ogness@linutronix.de>2018-04-19 11:03:45 +0200
commitea793b23c98403cefb38670d02a778b843bdf997 (patch)
treeabef3328bd017512394c315ddff9a3bd4b40a2be /kernel-devel/kernel-debugging
parent6c4b8bc457831a351875ec1415d37ccb471bfc20 (diff)
replace *all* tabs with spaces
There are times when tabs are allowed and times when they are not. Let's just simply never use tabs for anything. This makes it easy to find presentations where tabs were accidentally inserted. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'kernel-devel/kernel-debugging')
-rw-r--r--kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex b/kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex
index 62624a9..5e9d30f 100644
--- a/kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex
+++ b/kernel-devel/kernel-debugging/pres_kernel-debugging_en.tex
@@ -152,7 +152,7 @@ console=ttyAM0,115200
Kernel commandline:
\begin{verbatim}
netconsole=[src-port]@[src-ip]/[<dev>],
- [tgt-port]@<tgt-ip>/[tgt-macaddr]
+ [tgt-port]@<tgt-ip>/[tgt-macaddr]
\end{verbatim}
src-port defaults to 6665. tgt-port defaults to 6666.
\begin{verbatim}
@@ -301,7 +301,7 @@ Continuing.
Breakpoint 1, start_kernel ()
at linux-2.6.37-rc4/init/main.c:539
-539 smp_setup_processor_id();
+539 smp_setup_processor_id();
\end{verbatim}
\end{frame}
@@ -363,7 +363,7 @@ Remote debugging using localhost:2345
kgdb_breakpoint ()
at linux-2.6.37-rc4/kernel/debug/debug_core.c:959
-959 arch_kgdb_breakpoint();
+959 arch_kgdb_breakpoint();
(gdb)
\end{verbatim}
\end{frame}
@@ -413,8 +413,8 @@ mount your hosts / to /mnt/myhost
\begin{lstlisting}[language=bash]
$ gdb ./linux
(gdb) handle SIGSEGV pass nostop noprint
-Signal Stop Print Pass to program Description
-SIGSEGV No No Yes Segmentation fault
+Signal Stop Print Pass to program Description
+SIGSEGV No No Yes Segmentation fault
(gdb) b start_kernel
Breakpoint 1 at 0x80493ca: file /home/devel/images/linux-2.6.37/init/main.c,
line 539.
@@ -423,14 +423,14 @@ Starting program: /home/devel/images/build_um/linux
Locating the bottom of the address space ... 0x1000
Locating the top of the address space ... 0xc0000000
Core dump limits :
- soft - 0
- hard - NONE
+ soft - 0
+ hard - NONE
[...]
Adding 10047488 bytes to physical memory to account for exec-shield gap
Breakpoint 1, start_kernel () at
/home/devel/images/linux-2.6.37/init/main.c:539
-539 smp_setup_processor_id();
+539 smp_setup_processor_id();
(gdb) c
Continuing.
Linux version 2.6.37 (devel@ltx) (gcc version 4.3.2 (Debian 4.3.2-1.1) )