[update] documentation
authorFabien Le Mentec <texane@gmail.com>
Sun, 16 Oct 2011 08:24:45 +0000 (03:24 -0500)
committerFabien Le Mentec <texane@gmail.com>
Sun, 16 Oct 2011 08:24:45 +0000 (03:24 -0500)
doc/tutorial/tutorial.pdf
doc/tutorial/tutorial.tex

index 622e60f966b993df3fadce47a4aa98c758c480e3..8bb15c76107e3f51359d17458f1b52369c68bd07 100644 (file)
Binary files a/doc/tutorial/tutorial.pdf and b/doc/tutorial/tutorial.pdf differ
index 53a220dec3d612ce7d1e73505afbb43fe46835b6..f177e2b87c703c012f64e4411ab9a712b21385e1 100644 (file)
@@ -144,6 +144,19 @@ $> continue
 The board BLUE and GREEN leds should be blinking (those leds are near the user and reset buttons).
 
 
+\newpage
+\section{Notes}
+\paragraph{}
+By default, the disassemble command in GDB operates in ARM mode. The programs running on CORTEX-M3
+are compiled in THUMB mode. To correctly disassemble them under GDB, uses an odd address. For instance,
+if you want to disassemble the code at 0x20000000, use:\\
+\begin{small}
+\begin{lstlisting}[frame=tb]
+$> disassemble 0x20000001
+\end{lstlisting}
+\end{small}
+
+
 \newpage
 \section{References}
 \begin{itemize}