summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-03-17 22:12:22 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-03-17 22:12:22 +1030
commitf31fde45981fb51260a61e04912c0f1162f131ec (patch)
tree91edf15abf7c8ded9db1ddbb3c6fd4913d945785
parent3b200f895cb7884c72d9e2409f047284027abc68 (diff)
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.
-rw-r--r--tools/ccanlint/tests/tests_pass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ccanlint/tests/tests_pass.c b/tools/ccanlint/tests/tests_pass.c
index f30fed66..6c1172a7 100644
--- a/tools/ccanlint/tests/tests_pass.c
+++ b/tools/ccanlint/tests/tests_pass.c
@@ -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();