Commit f31fde45 authored by Rusty Russell's avatar Rusty Russell

ccanlint: fix gdb line in tests_pass helper.

Recent changes shifted line numbers in tap.c, so the break is now in
the wrong place.  We should probably have an explicit function we can
breakpoint instead.
parent 3b200f89
......@@ -59,7 +59,7 @@ static void run_under_debugger(struct manifest *m, struct score *score)
return;
first = list_top(&score->per_file_errors, struct file_error, list);
command = talloc_asprintf(m, "gdb -ex 'break tap.c:136' -ex 'run' %s",
command = talloc_asprintf(m, "gdb -ex 'break tap.c:132' -ex 'run' %s",
first->file->compiled);
if (system(command))
doesnt_matter();
......
Markdown is supported
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