\doxysection{Using GNU debuglink data }
\hypertarget{group__exampledebuglink}{}\label{group__exampledebuglink}\index{Using GNU debuglink data@{Using GNU debuglink data}}


Example showing dwarf\+\_\+add\+\_\+debuglink\+\_\+global\+\_\+path.  


Example showing dwarf\+\_\+add\+\_\+debuglink\+\_\+global\+\_\+path. 

An example using both dwarf\+\_\+add\+\_\+debuglink\+\_\+global\+\_\+path and dwarf\+\_\+gnu\+\_\+debuglink . 
\begin{DoxyCode}{0}
\DoxyCodeLine{*/}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ exampledebuglink(\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\_Debug}}\ dbg,\ \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\_Error}}*\ error)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ res\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ *debuglink\_path\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ *crc\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{char}\ \ \ \ *debuglink\_fullpath\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ debuglink\_fullpath\_strlen\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ buildid\_type\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{char}\ *\ \ \ buildidowner\_name\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{char}\ *buildid\_itself\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ buildid\_length\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{char}\ **\ \ paths\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ paths\_count\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{unsigned}\ i\ =\ 0;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \ \textcolor{comment}{/*\ \ This\ is\ just\ an\ example\ if\ one\ knows}}
\DoxyCodeLine{\textcolor{comment}{\ \ \ \ \ \ \ \ of\ another\ place\ full-\/DWARF\ objects}}
\DoxyCodeLine{\textcolor{comment}{\ \ \ \ \ \ \ \ may\ be.\ "{}/usr/lib/debug"{}\ is\ automatically}}
\DoxyCodeLine{\textcolor{comment}{\ \ \ \ \ \ \ \ set.\ }}

\end{DoxyCode}
