Completed integration and use of new name commands (with generous
[dwarf-doc.git] / dwarf5 / latexdoc / dwarfnamecmds.tex
index 37e53e5..81129ee 100644 (file)
@@ -9,7 +9,7 @@
        \expandafter\def\csname #1LINK\endcsname{\index{#2}\hyperlink{chap:#1}{#2}}
        \expandafter\def\csname #1TARG\endcsname{\index{#2}\hypertarget{chap:#1}{#2}}
        \expandafter\def\csname #1INDX\endcsname{\index{#2}#2}
-       \expandafter\def\csname #1MARK\endcsname{\hypertarget{chap:#1}{}}       
+       \expandafter\def\csname #1MARK\endcsname{\hypertarget{chap:#1}{}\index{#2}}     
        \expandafter\def\csname #1NAME\endcsname{#2}
        % The normal, most common use in running text...
        \expandafter\def\csname #1\endcsname{\csname #1LINK\endcsname}
@@ -48,7 +48,7 @@
 \newdwfnamecommands{DWATcallfile}{DW\_AT\_call\_file}
 \newdwfnamecommands{DWATcallline}{DW\_AT\_call\_line}
 \newdwfnamecommands{DWATcallingconvention}{DW\_AT\_calling\_convention}
-\newdwfnamecommands{DWATcommonreference}{DW\_at\_common\_reference}
+\newdwfnamecommands{DWATcommonreference}{DW\_AT\_common\_reference}
 \newdwfnamecommands{DWATcompdir}{DW\_AT\_comp\_dir}
 \newdwfnamecommands{DWATconstexpr}{DW\_AT\_const\_expr}
 \newdwfnamecommands{DWATconstvalue}{DW\_AT\_const\_value}
 \newdwfnamecommands{DWATEimaginaryfloat}{DW\_ATE\_imaginary\_float}
 \newdwfnamecommands{DWATElouser}{DW\_ATE\_lo\_user}
 \newdwfnamecommands{DWATEnumericstring}{DW\_ATE\_numeric\_string}
-\newdwfnamecommands{DWATEpackeddecimal}{DWATE\_packed\_decimal}
+\newdwfnamecommands{DWATEpackeddecimal}{DW\_ATE\_packed\_decimal}
 \newdwfnamecommands{DWATEsigned}{DW\_ATE\_signed}
 \newdwfnamecommands{DWATEsignedchar}{DW\_ATE\_signed\_char}
 \newdwfnamecommands{DWATEsignedfixed}{DW\_ATE\_signed\_fixed}
 \newdwfnamecommands{DWOPand}{DW\_OP\_and}
 \newdwfnamecommands{DWOPbitpiece}{DW\_OP\_bit\_piece}
 \newdwfnamecommands{DWOPbra}{DW\_OP\_bra}
-\newdwfnamecommands{DWOPbreg}{DW\_OP\_breg}                                                    % Generic name
 \newdwfnamecommands{DWOPbregn}{DW\_OP\_breg\textit{n}}                                                 % Generic name
 \newdwfnamecommands{DWOPbregzero}{DW\_OP\_breg0}
 \newdwfnamecommands{DWOPbregone}{DW\_OP\_breg1}
 \newdwfnamecommands{DWOPbregthirtyone}{DW\_OP\_breg31}
-    \newcommand{\DWOPbregtwo}{\hyperlink{chap:DWOPbregn}{DW\_OP\_breg2}}               % Link, don't index...
+       \newcommand{\DWOPbregtwo}{\hyperlink{chap:DWOPbregn}{DW\_OP\_breg2}}            % Link, don't index...
        \newcommand{\DWOPbregthree}{\hyperlink{chap:DWOPbregn}{DW\_OP\_breg3}}          %
        \newcommand{\DWOPbregfour}{\hyperlink{chap:DWOPbregn}{DW\_OP\_breg4}}           %
        \newcommand{\DWOPbregeleven}{\hyperlink{chap:DWOPbregn}{DW\_OP\_breg11}}        %
 \newdwfnamecommands{DWOPregn}{DW\_OP\_reg\textit{n}}                                           % Generic register name
 \newdwfnamecommands{DWOPregzero}{DW\_OP\_reg0}
 \newdwfnamecommands{DWOPregone}{DW\_OP\_reg1}
-       \newcommand{\DWOPregtwo}{\hyperlink{DWOPregn}{DW\_OP\_reg2}}                    % Link, don't index
-       \newcommand{\DWOPregthree}{\hyperlink{DWOPregn}{DW\_OP\_reg3}}
-       \newcommand{\DWOPregten}{\hyperlink{DWOPregn}{DW\_OP\_reg10}}
+       \newcommand{\DWOPregtwo}{\hyperlink{chap:DWOPregn}{DW\_OP\_reg2}}                       % Link, don't index
+       \newcommand{\DWOPregthree}{\hyperlink{chap:DWOPregn}{DW\_OP\_reg3}}
+       \newcommand{\DWOPregten}{\hyperlink{chap:DWOPregn}{DW\_OP\_reg10}}
 \newdwfnamecommands{DWOPregthirtyone}{DW\_OP\_reg31}
 \newdwfnamecommands{DWOPregx}{DW\_OP\_regx}
 \newdwfnamecommands{DWOProt}{DW\_OP\_rot}