DWARF Git Projects
/
dwarf-doc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e103e82
)
Replace all [here] positioning arguments with the more compatible [h].
author
Adrian Prantl
<aprantl@apple.com>
Thu, 9 Jul 2015 02:29:40 +0000
(19:29 -0700)
committer
Adrian Prantl
<aprantl@apple.com>
Thu, 9 Jul 2015 02:29:40 +0000
(19:29 -0700)
dwarf5/latexdoc/dataobject.tex
patch
|
blob
|
history
dwarf5/latexdoc/datarepresentation.tex
patch
|
blob
|
history
dwarf5/latexdoc/dwarf5.tex
patch
|
blob
|
history
dwarf5/latexdoc/encodingdecoding.tex
patch
|
blob
|
history
dwarf5/latexdoc/examples.tex
patch
|
blob
|
history
dwarf5/latexdoc/generaldescription.tex
patch
|
blob
|
history
dwarf5/latexdoc/programscope.tex
patch
|
blob
|
history
dwarf5/latexdoc/typeentries.tex
patch
|
blob
|
history
diff --git
a/dwarf5/latexdoc/dataobject.tex
b/dwarf5/latexdoc/dataobject.tex
index
30e834e
..
e0dd36b
100644
(file)
--- a/
dwarf5/latexdoc/dataobject.tex
+++ b/
dwarf5/latexdoc/dataobject.tex
@@
-255,7
+255,7
@@
The set of values
and their meaning for this attribute is given in
Table \ref{tab:endianityattributevalues}.
and their meaning for this attribute is given in
Table \ref{tab:endianityattributevalues}.
-\begin{table}[h
ere
]
+\begin{table}[h]
\caption{Endianity attribute values}
\label{tab:endianityattributevalues}
\centering
\caption{Endianity attribute values}
\label{tab:endianityattributevalues}
\centering
diff --git
a/dwarf5/latexdoc/datarepresentation.tex
b/dwarf5/latexdoc/datarepresentation.tex
index
d7631cc
..
9341a32
100644
(file)
--- a/
dwarf5/latexdoc/datarepresentation.tex
+++ b/
dwarf5/latexdoc/datarepresentation.tex
@@
-3845,7
+3845,7
@@
This hash function is sometimes informally known as the
\hrefself{http://en.wikipedia.org/wiki/List\_of\_hash\_functions} or
\hrefself{http://stackoverflow.com/questions/10696223/reason-for-5381-number-in-djb-hash-function)}.}
\hrefself{http://en.wikipedia.org/wiki/List\_of\_hash\_functions} or
\hrefself{http://stackoverflow.com/questions/10696223/reason-for-5381-number-in-djb-hash-function)}.}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
unsigned long \* must be a 32-bit integer type *\
\begin{lstlisting}
unsigned long \* must be a 32-bit integer type *\
diff --git
a/dwarf5/latexdoc/dwarf5.tex
b/dwarf5/latexdoc/dwarf5.tex
index
53a210b
..
83b1e92
100644
(file)
--- a/
dwarf5/latexdoc/dwarf5.tex
+++ b/
dwarf5/latexdoc/dwarf5.tex
@@
-189,7
+189,7
@@
escapeinside={\%*}{*)} % if you want to add a comment within your code
% A simple one column table of names; default width is 2 inches
\newcommand{\simplenametablerule}{\simplerule[2in]}
\newenvironment{simplenametable}[3][2in]
% A simple one column table of names; default width is 2 inches
\newcommand{\simplenametablerule}{\simplerule[2in]}
\newenvironment{simplenametable}[3][2in]
- { \begin{table}[h
ere
] \caption{#2} \label{#3}
+ { \begin{table}[h] \caption{#2} \label{#3}
\begin{center}
\renewcommand{\simplenametablerule}{\simplerule[#1]}
\simplenametablerule \\
\begin{center}
\renewcommand{\simplenametablerule}{\simplerule[#1]}
\simplenametablerule \\
diff --git
a/dwarf5/latexdoc/encodingdecoding.tex
b/dwarf5/latexdoc/encodingdecoding.tex
index
15b816c
..
200d431
100644
(file)
--- a/
dwarf5/latexdoc/encodingdecoding.tex
+++ b/
dwarf5/latexdoc/encodingdecoding.tex
@@
-7,7
+7,7
@@
Here are algorithms expressed in a C-like pseudo-code to
encode and decode signed and unsigned numbers in LEB128
representation.
encode and decode signed and unsigned numbers in LEB128
representation.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
do
{
\begin{lstlisting}
do
{
@@
-22,7
+22,7
@@
do
\addtoindexx{LEB128!unsigned, encoding as}
\end{figure}
\addtoindexx{LEB128!unsigned, encoding as}
\end{figure}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
more = 1;
negative = (value < 0);
\begin{lstlisting}
more = 1;
negative = (value < 0);
@@
-51,7
+51,7
@@
while(more)
\addtoindexx{LEB128!signed, encoding as}
\end{figure}
\addtoindexx{LEB128!signed, encoding as}
\end{figure}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
result = 0;
shift = 0;
\begin{lstlisting}
result = 0;
shift = 0;
@@
-68,7
+68,7
@@
while(true)
\addtoindexx{LEB128!unsigned, decoding of}
\end{figure}
\addtoindexx{LEB128!unsigned, decoding of}
\end{figure}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
result = 0;
shift = 0;
\begin{lstlisting}
result = 0;
shift = 0;
diff --git
a/dwarf5/latexdoc/examples.tex
b/dwarf5/latexdoc/examples.tex
index
eb6143d
..
e083a3d
100644
(file)
--- a/
dwarf5/latexdoc/examples.tex
+++ b/
dwarf5/latexdoc/examples.tex
@@
-36,7
+36,7
@@
typedef char* strp;
% Ensures we get the following float out before we go on.
\clearpage
% Ensures we get the following float out before we go on.
\clearpage
-\begin{figure}[h
ere
]
+\begin{figure}[h]
%\centering
%\setlength{\linewidth}{1.1\linewidth}
\begin{minipage}[t]{0.03\linewidth}
%\centering
%\setlength{\linewidth}{1.1\linewidth}
\begin{minipage}[t]{0.03\linewidth}
@@
-355,7
+355,7
@@
Consider the \addtoindex{Fortran array}\addtoindexx{Fortran 90} source fragment
\addtoindexx{array type entry!examples}
Figure \referfol{fig:fortranarrayexamplesourcefragment}.
\addtoindexx{array type entry!examples}
Figure \referfol{fig:fortranarrayexamplesourcefragment}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
type array_ptr
real :: myvar
\begin{lstlisting}
type array_ptr
real :: myvar
@@
-395,7
+395,7
@@
knowledge of this structure and 2) there does not need to
be an explicit representation of this structure in the DWARF
input to the debugger.
be an explicit representation of this structure in the DWARF
input to the debugger.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
struct desc {
long el_len; // Element length
\begin{lstlisting}
struct desc {
long el_len; // Element length
@@
-729,7
+729,7
@@
The \addtoindex{Fortran} (simple) array coarray example
in Figure \refersec{fig:Fortranarraycoarraysourcefragment} can be described as
illustrated in Figure \refersec{fig:FortranarraycoarrayDWARFdescription}.
in Figure \refersec{fig:Fortranarraycoarraysourcefragment} can be described as
illustrated in Figure \refersec{fig:FortranarraycoarrayDWARFdescription}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
INTEGER X(10)[*]
\end{lstlisting}
\begin{lstlisting}
INTEGER X(10)[*]
\end{lstlisting}
@@
-737,7
+737,7
@@
illustrated in Figure \refersec{fig:FortranarraycoarrayDWARFdescription}.
\label{fig:Fortranarraycoarraysourcefragment}
\end{figure}
\label{fig:Fortranarraycoarraysourcefragment}
\end{figure}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{dwflisting}
\begin{alltt}
10\$: \DWTAGarraytype
\begin{dwflisting}
\begin{alltt}
10\$: \DWTAGarraytype
@@
-768,7
+768,7
@@
The \addtoindex{Fortran} multidimensional coarray of a multidimensional array ex
in Figure \refersec{fig:Fortranmultidimensionalcoarraysourcefragment} can be described as
illustrated in Figure \referfol{fig:FortranmultidimensionalcoarrayDWARFdescription}.
in Figure \refersec{fig:Fortranmultidimensionalcoarraysourcefragment} can be described as
illustrated in Figure \referfol{fig:FortranmultidimensionalcoarrayDWARFdescription}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
INTEGER X(10,11,12)[2,3,*]
\end{lstlisting}
\begin{lstlisting}
INTEGER X(10,11,12)[2,3,*]
\end{lstlisting}
@@
-776,7
+776,7
@@
illustrated in Figure \referfol{fig:FortranmultidimensionalcoarrayDWARFdescripti
\label{fig:Fortranmultidimensionalcoarraysourcefragment}
\end{figure}
\label{fig:Fortranmultidimensionalcoarraysourcefragment}
\end{figure}
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{dwflisting}
\begin{alltt}
10\$: \DWTAGarraytype
\begin{dwflisting}
\begin{alltt}
10\$: \DWTAGarraytype
@@
-1103,7
+1103,7
@@
Figure \refersec{fig:adaexamplesourcefragment}
illustrates two kinds of \addtoindex{Ada}
parameterized array, one embedded in a record.
illustrates two kinds of \addtoindex{Ada}
parameterized array, one embedded in a record.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
M : INTEGER := <exp>;
VEC1 : array (1..M) of INTEGER;
\begin{lstlisting}
M : INTEGER := <exp>;
VEC1 : array (1..M) of INTEGER;
@@
-1232,7
+1232,7
@@
Figure \referfol{fig:packedrecordexamplesourcefragment}
is used to illustrate the representation of packed unaligned
\addtoindex{bit fields}.
is used to illustrate the representation of packed unaligned
\addtoindex{bit fields}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
TYPE T : PACKED RECORD ! bit size is 2
F5 : BOOLEAN; ! bit offset is 0
\begin{lstlisting}
TYPE T : PACKED RECORD ! bit size is 2
F5 : BOOLEAN; ! bit offset is 0
@@
-1845,7
+1845,7
@@
The information found in a \DWARFVersionIV{} line number
header can be encoded as shown in
Figure \refersec{fig:preV5LNCTusingV5}.
header can be encoded as shown in
Figure \refersec{fig:preV5LNCTusingV5}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{dwflisting}
\begin{alltt}
Field Field Name Value(s)
\begin{dwflisting}
\begin{alltt}
Field Field Name Value(s)
@@
-1940,7
+1940,7
@@
Consider the simple source file and the resulting machine
code for the Intel 8086 processor in
Figure \refersec{fig:linenumberprogramexamplemachinecode}.
code for the Intel 8086 processor in
Figure \refersec{fig:linenumberprogramexamplemachinecode}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
1: int
2: main()
\begin{lstlisting}
1: int
2: main()
@@
-2094,7
+2094,7
@@
pointer). The first column values are byte addresses.
\textless fs\textgreater\ denotes the stack frame size in bytes, namely 12.
\textless fs\textgreater\ denotes the stack frame size in bytes, namely 12.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
;; start prologue
foo sub R7, R7, <fs> ; Allocate frame
\begin{lstlisting}
;; start prologue
foo sub R7, R7, <fs> ; Allocate frame
@@
-2271,7
+2271,7
@@
example involves a nested subprogram \texttt{INNER} that makes uplevel
references to the formal parameter and local variable of the
containing subprogram \texttt{OUTER}.
references to the formal parameter and local variable of the
containing subprogram \texttt{OUTER}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}
inline procedure OUTER (OUTER_FORMAL : integer) =
begin
\begin{lstlisting}
inline procedure OUTER (OUTER_FORMAL : integer) =
begin
@@
-2794,7
+2794,7
@@
can be represented as illustrated in
Figure \refersec{fig:constantexpressionsdwarfdescription}.
Figure \refersec{fig:constantexpressionsdwarfdescription}.
-\begin{figure}[h
ere
]
+\begin{figure}[h]
\begin{lstlisting}[numbers=none]
constexpr double mass = 9.8;
constexpr int square (int x) { return x * x; }
\begin{lstlisting}[numbers=none]
constexpr double mass = 9.8;
constexpr int square (int x) { return x * x; }
diff --git
a/dwarf5/latexdoc/generaldescription.tex
b/dwarf5/latexdoc/generaldescription.tex
index
b423654
..
1f23d71
100644
(file)
--- a/
dwarf5/latexdoc/generaldescription.tex
+++ b/
dwarf5/latexdoc/generaldescription.tex
@@
-2496,7
+2496,7
@@
has been specified.
\needlines{4}
\textit {For example, the Intel386 \texttrademark\ processor might use the following values:}
\needlines{4}
\textit {For example, the Intel386 \texttrademark\ processor might use the following values:}
-\begin{table}[h
ere
]
+\begin{table}[h]
\caption{Example address class codes}
\label{tab:inteladdressclasstable}
\centering
\caption{Example address class codes}
\label{tab:inteladdressclasstable}
\centering
diff --git
a/dwarf5/latexdoc/programscope.tex
b/dwarf5/latexdoc/programscope.tex
index
cf9ebcb
..
537fdbb
100644
(file)
--- a/
dwarf5/latexdoc/programscope.tex
+++ b/
dwarf5/latexdoc/programscope.tex
@@
-1515,7
+1515,7
@@
a
set of values for the \DWATinline{} attribute is given in
Table \refersec{tab:inlinecodes}.
set of values for the \DWATinline{} attribute is given in
Table \refersec{tab:inlinecodes}.
-\begin{table}[h
ere
]
+\begin{table}[h]
\centering
\caption{Inline codes}
\label{tab:inlinecodes}
\centering
\caption{Inline codes}
\label{tab:inlinecodes}
diff --git
a/dwarf5/latexdoc/typeentries.tex
b/dwarf5/latexdoc/typeentries.tex
index
353ec4f
..
afd37b4
100644
(file)
--- a/
dwarf5/latexdoc/typeentries.tex
+++ b/
dwarf5/latexdoc/typeentries.tex
@@
-109,7
+109,7
@@
for presentation purposes. These groups are not part of this
DWARF specification.}
\newcommand{\EncodingGroup}[1]{\multicolumn{2}{l}{\hspace{2cm}\bfseries\textit{#1}}}
DWARF specification.}
\newcommand{\EncodingGroup}[1]{\multicolumn{2}{l}{\hspace{2cm}\bfseries\textit{#1}}}
-\begin{table}[!h
ere
]
+\begin{table}[!h]
\caption{Encoding attribute values}
\label{tab:encodingattributevalues}
\centering
\caption{Encoding attribute values}
\label{tab:encodingattributevalues}
\centering
@@
-269,7
+269,7
@@
mean that the type has a leading overpunch, trailing overpunch,
leading separate or trailing separate sign representation or,
alternatively, no sign at all.
leading separate or trailing separate sign representation or,
alternatively, no sign at all.
-\begin{table}[h
ere
]
+\begin{table}[h]
\caption{Decimal sign attribute values}
\label{tab:decimalsignattributevalues}
\centering
\caption{Decimal sign attribute values}
\label{tab:decimalsignattributevalues}
\centering
@@
-473,7
+473,7
@@
source
\addtoindexx{parameter|see{formal parameter entry}}
presentation.
\addtoindexx{parameter|see{formal parameter entry}}
presentation.
-\begin{table}[h
ere
]
+\begin{table}[h]
\caption{Type modifier tags}
\label{tab:typemodifiertags}
\centering
\caption{Type modifier tags}
\label{tab:typemodifiertags}
\centering