Changeset View
Changeset View
Standalone View
Standalone View
contrib/gdb/gdb/tracepoint.c
Show First 20 Lines • Show All 1,431 Lines • ▼ Show 20 Lines | for (i = 0; i < list->next_aexpr_elt; i++) | ||||
ndx++; | ndx++; | ||||
count = 0; | count = 0; | ||||
end = temp_buf; | end = temp_buf; | ||||
} | } | ||||
sprintf (end, "X%08X,", list->aexpr_list[i]->len); | sprintf (end, "X%08X,", list->aexpr_list[i]->len); | ||||
end += 10; /* 'X' + 8 hex digits + ',' */ | end += 10; /* 'X' + 8 hex digits + ',' */ | ||||
count += 10; | count += 10; | ||||
end = mem2hex (list->aexpr_list[i]->buf, end, list->aexpr_list[i]->len); | end = (char *)(mem2hex (list->aexpr_list[i]->buf, (unsigned char *)end, list->aexpr_list[i]->len)); | ||||
count += 2 * list->aexpr_list[i]->len; | count += 2 * list->aexpr_list[i]->len; | ||||
} | } | ||||
if (count != 0) | if (count != 0) | ||||
{ | { | ||||
(*str_list)[ndx] = savestring (temp_buf, count); | (*str_list)[ndx] = savestring (temp_buf, count); | ||||
ndx++; | ndx++; | ||||
count = 0; | count = 0; | ||||
▲ Show 20 Lines • Show All 1,363 Lines • Show Last 20 Lines |