Add split objects example in App F.2 and correct misc other
[dwarf-doc.git] / dwarf5 / latexdoc / examples.tex
index 5b0a3b6..300a99f 100644 (file)
@@ -447,8 +447,8 @@ in Figure \refersec{fig:fortranarrayexampledwarfdescription}.
 \end{alltt}
 \end{dwflisting}
 \begin{center}
-
-Figure~\ref{fig:fortranarrayexampledwarfdescription} Fortran array example: DWARF description \textit{(concluded)}
+\vspace{3mm}
+Figure~\ref{fig:fortranarrayexampledwarfdescription}: Fortran array example: DWARF description \textit{(concluded)}
 \end{center}
 \end{figure}
 
@@ -630,7 +630,7 @@ illustrated in Figure \refersec{fig:FortranarraycoarrayDWARFdescription}.
 The \addtoindex{Fortran} multidimensional coarray of a multidimensional array example
 \addtoindexx{coarray!example}\addtoindexx{array coarray|see{coarray}}
 in Figure \refersec{fig:Fortranmultidimensionalcoarraysourcefragment} can be described as 
-illustrated in Figure \refersec{fig:FortranmultidimensionalcoarrayDWARFdescription}.
+illustrated in Figure \referfol{fig:FortranmultidimensionalcoarrayDWARFdescription}.
 
 \begin{figure}[here]
 \begin{lstlisting}
@@ -1154,12 +1154,11 @@ Section \refersec{chap:datamemberentries}.
 \end{alltt}
 \end{dwflisting}
 \begin{center}
+\vspace{3mm}
 Figure~\ref{fig:packedrecordexampledwarfdescription}: Packed record example: DWARF description \textit{(concluded)}
 \end{center}
 \end{figure}
 
-%\clearpage
-
 \clearpage
 \section{Namespace Example}
 \label{app:namespaceexample}
@@ -1303,6 +1302,7 @@ int Foo::myfunc(int a)
 \end{alltt}
 \end{dwflisting}
 \begin{center}
+\vspace{3mm}
 Figure~\ref{fig:namespaceexampledwarfdescription}: Namespace example: DWARF description \textit{(concluded)}
 \end{center}
 \end{figure}
@@ -1413,6 +1413,7 @@ void A::func1(int x) {}
 \end{alltt}
 \end{dwflisting}
 \begin{center}
+\vspace{3mm}
 Figure~\ref{fig:memberfunctionexampledwarfdescription}: Member function example: DWARF description \textit{(concluded)}
 \end{center}
 \end{figure}
@@ -2856,7 +2857,7 @@ int main ()
             \DWATname("p")
             \DWATtype(reference to "char *")
             \DWATlocation(expression=
-            \DWOPimplicitpointer(reference to 21\$, 2))
+                \DWOPimplicitpointer(reference to 21\$, 2))
 \end{alltt}
 \end{dwflisting}
 \caption{C implicit pointer example \#1: DWARF description}
@@ -2937,15 +2938,15 @@ int main ()
             \DWATtype(reference to "int *")
 4\$: \DWTAGsubprogram
         \DWATname("main")
-40\$:  \DWTAGvariable
+40\$:          \DWTAGvariable
             \DWATname("a")
             \DWATtype(reference to "int[2]")
             \DWATlocation(location list 98$)
 41\$:    \DWTAGinlinedsubroutine
             \DWATabstractorigin(reference to 3$)
 42\$:        \DWTAGformalparameter
-            \DWATabstractorigin(reference to 30$)
-            \DWATlocation(location list 99$)
+                \DWATabstractorigin(reference to 30$)
+                \DWATlocation(location list 99$)
 
 ! .debug_loc section
 98\$:<label0 in main> .. <label1 in main>
@@ -3292,7 +3293,7 @@ This is shown in Figure \refersec{fig:callsiteexample1dwarf}.
 \end{alltt}
 \end{dwflisting}
 \begin{center}
-\vspace{0.4cm}
+\vspace{3mm}
 Figure~\ref{fig:callsiteexample1dwarf} Call Site Example \#1: DWARF Encoding \textit{(concluded)}
 \end{center}
 \end{figure}