it leaves the c list iterator with loose_pos incremented:

(gdb) n
883                     if (loose_lookup(out, backend, path) == 0) {
(gdb) display iter->loose_pos
5: iter->loose_pos = 1222
(gdb) n
884                             ref = git_sortedcache_lookup(iter->cache, path);
5: iter->loose_pos = 1222
(gdb) n
885                             if (ref)
5: iter->loose_pos = 1222
(gdb) n
888                             return 0;
5: iter->loose_pos = 1222

i'll capture loose_pos's address so i can watch it from other frames.

Reply via email to