how to debug the rsync function start_client
matt at mattmccutchen.net
Sat Dec 13 07:47:50 GMT 2008
On Fri, 2008-12-05 at 12:04 +0800, shuang quan wen wrote:
> I am a student in computer science, several weeks ago, i learn the
> rsync algorithm and i am very interested in it.
> I use the gdb to debug the rsync,but when i enter the
> function start_client , I use bt to find the function stacks,but i
> cannot find
> the function ,why?
> and how can i to see the start_client function and continue to debug
> the function.
If you want to study the rsync algorithm, I suggest that you use the
rdiff tool that comes with librsync ( http://librsync.sourcefrog.net/ ),
which implements just this algorithm. The full rsync program has lots
of other features that may be a distraction.
More information about the rsync