(gdb) n
877 refdb_fs_backend *backend =
GIT_CONTAINER_OF(iter->parent.db->backend, refdb_fs_backend, parent);
3: branch_name = "refs/tags/0.10.7"
(gdb) undisplay 3
(gdb) n
880 while (iter->loose_pos < iter->loose.length) {
(gdb) p (*iter)
$12 = {parent = {db = 0x5555557b4aa0, next = 0x7ffff7ebbba0
,
next_name = 0x7ffff7ebbaa0 ,
free = 0x7ffff7eba8c0 },
glob = 0x0, pool = {pages = 0x555555e01f40, item_size = 1, page_size
= 4056}, loose = {_alloc_size = 3444, _cmp = 0x0,
contents = 0x555557191dd0, length = 2315, flags = 0}, cache =
0x555557fb17d0, loose_pos = 1222, packed_pos = 0}
(gdb) n
881 const char *path =
git_vector_get(&iter->loose, iter->loose_pos++);
(gdb) n
883 if (loose_lookup(out, backend, path) == 0) {
(gdb) p path
$13 = <optimized out>
i'm using an optimized libgit, so i'll set it rebuilding unoptimized
to make debugging easier when it finishes