资源描述:
《Debugging with GDB[使用GDB进行调试] -- (版) -- Stallman 着》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、DebuggingwithGDBThegnuSource-LevelDebuggerNinthEdition,forGDBversion5.1.1January2002RichardStallman,RolandPesch,StanShebs,etal.Copyrightc1988,1989,1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001,2002FreeSoftwareFoundation,Inc.PublishedbytheFreeSoftwareFoundation59TemplePlace-Suite330,
2、Boston,MA02111-1307USAISBN1-882114-88-4Permissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version1.1oranylaterversionpublishedbytheFreeSoftwareFoundation;withtheInvariantSectionsbeing“FreeSoftware”and“FreeSoftwareNeedsFreeDocumentation”,w
3、iththeFront-CoverTextsbeing“AGNUManual,”andwiththeBack-CoverTextsasin(a)below.(a)TheFreeSoftwareFoundation’sBack-CoverTextis:“YouhavefreedomtocopyandmodifythisGNUManual,likeGNUsoftware.CopiespublishedbytheFreeSoftwareFoundationraisefundsforGNUdevelopment.”iTableofContentsSummaryofGDB.........
4、....................1Freesoftware................................................1FreeSoftwareNeedsFreeDocumentation......................1ContributorstoGDB.........................................31ASampleGDBSession....................72GettingInandOutofGDB...............112.1InvokingGDB....
5、.....................................112.1.1Choosingles.................................122.1.2Choosingmodes...............................132.2QuittingGDB.........................................152.3Shellcommands........................................153GDBCommands........................
6、.173.1Commandsyntax......................................173.2Commandcompletion..................................173.3Gettinghelp...........................................194RunningProgramsUnderGDB...........234.1Compilingfordebugging................................234.2Startingyourprogram..
7、................................234.3Yourprogram'sarguments..............................244.4Yourprogram'senvironment............................254.5Yourprogram'sworkingdirectory.......................264.6Yourprogram'sinputandoutput.......