define access_data_at if $argc == 1 set $access_data_index = 0 set $ad_curr = g_access_list_head while $access_data_index < $arg0 if $ad_curr == 0 loop_break else set $ad_curr = $ad_curr->next end set $access_data_index = $access_data_index + 1 end if $ad_curr != 0 print *(struct access_data*)$ad_curr->data end else print "missing index" end end