Skip to content
Snippets Groups Projects
Commit 278f08d7 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Detect remote segfault

parent def9b785
Branches
Tags
No related merge requests found
......@@ -9,7 +9,10 @@ static void set_stop(eb_user_data_t user, eb_operation_t op, eb_status_t status)
if (status != EB_OK) {
fprintf(stdout, "%s\n", eb_status(status));
} else {
fprintf(stdout, "%016"EB_DATA_FMT".\n", eb_operation_data(op));
if (eb_operation_had_error(op))
fprintf(stdout, " <<-- wishbone segfault -->>\n");
else
fprintf(stdout, "%016"EB_DATA_FMT".\n", eb_operation_data(op));
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment