Finally, if you totally botch all of your changes to your working files and want to revert to the most
recent versions, use the update command. It updates the specified directory with the most recent
versions stored in the repository, as shown in the following example:
$ cd ~/projects/newhello
$ cvs update .
cvs update: Updating .
U showit.c
U msg.c
U hello.c
There??™s much more to CVS than the few examples presented here. For additional information,
visit the CVS home page on the Web at www.nongnu.org/cvs.
While CVS improves a lot on the limitations of RCS, CVS has its own limitations. SVN, or
Subversion, is a newer source code control system that aims to solve many of the limitations of
CVS. See subversion.tigris.org for more on SVN.
Debugging with GNU Debugger
Software is buggy, and some programs have more bugs than other programs. While debugging sessions
will never be aggravation-free, the advanced features of GNU Debugger (GDB) lighten the
load and enable you to be more productive in squashing bugs. A debugger runs a program in a
special mode that allows you to view the inner workings of the programs, especially the value of
variables at a given point in the code. The theory is that by exposing the inner workings of the program,
you can more easily determine what is not correct in the program??™s source code??”that is,
where the bug is located.
Pages:
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446