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. -------------- next part -------------- HTML attachment scrubbed and removed
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. -- Matt
Possibly Parallel Threads
- LGPL relicense port of rsync
- collecting the differences between a local host and remote archive to third local location (a usb device)
- Differentiating debug messages from both sides
- state of the rsync nation? (revisited 6/2003 from 11/2000)
- fixes for bugs in error handling in rsync-2.5.2; and updates for rsync3.txt