+ list_for_each(list, i, list)
+ descrip = talloc_asprintf_append(descrip, "Running %s:\n%s",
+ i->file->name, i->output);
+ return descrip;
+}
+
+/* Gcc's warn_unused_result is fascist bullshit. */
+#define doesnt_matter()
+
+static void run_under_debugger(struct manifest *m, void *check_result)
+{
+ char *command;
+ struct list_head *list = check_result;
+ struct run_tests_result *first;
+
+ if (!ask("Should I run the first failing test under the debugger?"))
+ return;
+
+ first = list_top(list, struct run_tests_result, list);
+ command = talloc_asprintf(m, "gdb -ex 'break tap.c:136' -ex 'run' %s",
+ first->file->compiled);
+ if (system(command))
+ doesnt_matter();