\doxysection{Reading gdbindex addressarea }
\hypertarget{group__examplewgdbindex}{}\label{group__examplewgdbindex}\index{Reading gdbindex addressarea@{Reading gdbindex addressarea}}


Example accessing gdbindex addressarea data.  


Example accessing gdbindex addressarea data. 


\begin{DoxyCode}{0}
\DoxyCodeLine{*/}
\DoxyCodeLine{\textcolor{keywordtype}{int}\ examplewgdbindex(\doxymbox{\hyperlink{group__allstructs_gaf91021d6b3f6bf39f5c43c8dbe1a9591}{Dwarf\_Gdbindex}}\ gdbindex,}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\_Error}}\ *error)}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\_Unsigned}}\ list\_len\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\_Unsigned}}\ i\ =\ 0;}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \ \ \ res\ =\ 0;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \ \ res\ =\ \doxymbox{\hyperlink{group__gdbindex_ga13b36b0aefd572f360ef18008cd2ea9b}{dwarf\_gdbindex\_addressarea}}(gdbindex,\ \&list\_len,error);}
\DoxyCodeLine{\ \ \ \ \textcolor{keywordflow}{if}\ (res\ !=\ DW\_DLV\_OK)\ \{}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Something\ wrong,\ ignore\ the\ addressarea\ }}

\end{DoxyCode}
