projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b200f8
)
ccanlint: fix gdb line in tests_pass helper.
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:22 +0000
(22:12 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:22 +0000
(22:12 +1030)
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.
tools/ccanlint/tests/tests_pass.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/tests_pass.c
b/tools/ccanlint/tests/tests_pass.c
index f30fed66cb5924dc42427b2fd49cc50aa65cefd0..6c1172a75bfe1841e58b8b45c632d19b48724313 100644
(file)
--- 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:13
6
' -ex 'run' %s",
+ command = talloc_asprintf(m, "gdb -ex 'break tap.c:13
2
' -ex 'run' %s",
first->file->compiled);
if (system(command))
doesnt_matter();