Lines Matching defs:addresses
53 void *addresses[3][128];
75 addresses[0][depth] = (void *) ip;
88 printf ("\t #%-3d ip=%p\n", i, addresses[0][i]);
93 n = backtrace (addresses[1], 128);
97 printf ("\t #%-3d ip=%p\n", i, addresses[1][i]);
102 m = unw_backtrace (addresses[2], 128);
106 printf ("\t #%-3d ip=%p\n", i, addresses[2][i]);
122 /* Allow one in difference in comparison, trace returns adjusted addresses. */
123 if (labs((unw_word_t) addresses[1][i] - (unw_word_t) addresses[2][i]) > 1)
125 printf ("FAILURE: backtrace() and unw_backtrace() addresses differ at %d: %p vs. %p\n",
126 i, addresses[1][n], addresses[2][n]);
132 /* Allow one in difference in comparison, trace returns adjusted addresses. */
133 if (labs((unw_word_t) addresses[0][i] - (unw_word_t) addresses[1][i]) > 1)
135 printf ("FAILURE: unw_step() loop and backtrace() addresses differ at %d: %p vs. %p\n",
136 i, addresses[0][n], addresses[1][n]);