调试圣经——《Debugging with GDB, 9th》
Table of Contentsl Summary of GDBm Free softwarem Free Software Needs Free Documentationm Contributors to GDBl A Sample GDB Sessionl Getting In and Out of GDBm Invoking GDBn Choosing filesn Choosing modesm Quitting GDBm Shell commandsl GDB Commandsm Command syntaxm Command completionm Getting helpl Running Programs Under GDBm Compiling for debuggingm Starting your programm Your program's argumentsm Your program's environmentm Your program's working directorym Your program's input and outputfile:///C|/gdb.html (1 of 352)19. 1. 2004 20:32:03Debugging with GDBm Debugging an already-running processm Killing the child processm Debugging programs with multiple threadsm Debugging programs with multiple processesl Stopping and Continuingm Breakpoints, watchpoints, and catchpointsn Setting breakpointsn Setting watchpointsn Setting catchpointsn Deleting breakpointsn Disabling breakpointsn Break conditionsn Breakpoint command listsn Breakpoint menusn "Cannot insert breakpoints"m Continuing and steppingm Signalsm Stopping and starting multi-thread programsl Examining the Stackm Stack framesm Backtracesm Selecting a framem Information about a framel Examining Source Filesm Printing source linesm Searching source filesm Specifying source directoriesm Source and machine codel Examining Datam Expressionsm Program variablesm Artificial arraysm Output formatsm Examining memorym Automatic displaym Print settingsm Value historym Convenience variablesfile:///C|/gdb.html (2 of 352)19. 1. 2004 20:32:03Debugging with GDBm Registersm Floating point hardwarem Memory Region Attributesn Memory Access Moden Memory Access Sizen Data Cachel Tracepointsm Commands to Set Tracepointsn Create and Delete Tracepointsn Enable and Disable Tracepointsn Tracepoint Passcountsn Tracepoint Action Listsn Listing Tracepointsn Starting and Stopping Trace Experimentm Using the collected datan tfind nn tdumpn save-tracepoints filenamem Convenience Variables for Tracepointsl Using GDB with Different Languagesm Switching between source languagesn List of filename extensions and languagesn Setting the working languagen Having GDB infer the source languagem Displaying the languagem Type and range checkingn An overview of type checkingn An overview of range checkingm Supported languagesn C and C++operatorsn C and C++constantsn C++expressionsn C and C++defaultsn C and C++type and range checksn GDB and Cn GDB features for C++file:///C|/gdb.html (3 of 352)19. 1. 2004 20:32:03Debugging with GDBn Modula-2n Operatorsn Built-in functions and proceduresn Constantsn Modula-2 defaultsn Deviations from standard Modula-2n Modula-2 type and range checksn The scope operators :: and .n GDB and Modula-2n Chilln How modes are displayedn Locations and their accessesn Values and their Operationsn Chill type and range checksn Chill defaultsl Examining the Symbol Tablel Altering Executionm Assignment to variablesm Continuing at a different addressm Giving your program a signalm Returning from a functionm Calling program functionsm Patching programsl GDB Filesm Commands to specify filesm Errors reading symbol filesl Specifying a Debugging Targetm Active targetsm Commands for managing targetsm Choosing target byte orderm Remote debuggingn The GDB remote serial protocoln What the stub can do for youn What you must do for the stubn Putting it all togethern Communication protocoln Using the gdbserver programn Using the gdbserve.nlm programfile:///C|/gdb.html (4 of 352)19. 1. 2004 20:32:03Debugging with GDBm Kernel Object Displayl Configuration-Specific Informationm Nativen HP-UXn SVR4 process informationn Features for Debugging DJGPP Programsm Embedded Operating Systemsn Using GDB with VxWorksn Connecting to VxWorksn VxWorks downloadn Running tasksm Embedded Processorsn AMD A29K Embeddedn A29K UDIn EBMON protocol for AMD29Kn Communications setupn EB29K cross-debuggingn Remote logn ARMn Hitachi H8/300n Connecting to Hitachi boardsn Using the E7000 in-circuit emulatorn Special GDB commands for Hitachi microsn H8/500n Intel i960n Startup with Nindyn Options for Nindyn Nindy reset commandn Mitsubishi M32R/Dn M68kn M88Kn MIPS Embeddedn PowerPCn HP PA Embeddedn Hitachi SHn Tsqware Sparcletn Setting file to debugn Connecting to Sparcletfile:///C|/gdb.html (5 of 352)19. 1. 2004 20:32:03Debugging with GDBn Sparclet downloadn Running and debuggingn Fujitsu Sparcliten Tandem ST2000n Zilog Z8000m Architecturesn A29Kn Alphan MIPSl Controlling GDBm Promptm Command editingm Command historym Screen sizem Numbersm Optional warnings and messagesm Optional messages about internal happeningsl Canned Sequences of Commandsm User-defined command hooksm Command filesm Commands for controlled outputl GDB Text User Interfacem TUI overviewm TUI Key Bindingsm TUI specific commandsm TUI configuration variablesl Using GDB under GNU Emacsl GDB Annotationsm What is an Annotation?m The Server Prefixm Valuesm Framesm Displaysm Annotation for GDB Inputm Errorsm Information Breakpointsm Invalidation Noticesfile:///C|/gdb.html (6 of 352)19. 1. 2004 20:32:03Debugging with GDBm Running the Programm Displaying Sourcem Annotations We Might Want in the Futurel The GDB/MI Interfacem Function and Purposem Notation and Terminologym GDB/MI Command Syntaxn GDB/MI Input Syntaxn GDB/MI Output Syntaxn Simple Examples of GDB/MI Interactionm GDB/MI Compatibility with CLIm GDB/MI Output Recordsn GDB/MI Result Recordsn GDB/MI Stream Recordsn GDB/MI Out-of-band Recordsm GDB/MI Command Description Formatm GDB/MI Breakpoint table commandsm GDB/MI Data Manipulationm GDB/MI Program controlm Miscellaneous GDB commands in GDB/MIm GDB/MI Stack Manipulation Commandsm GDB/MI Symbol Query Commandsm GDB/MI Target Manipulation Commandsm GDB/MI Thread Commandsm GDB/MI Tracepoint Commandsm GDB/MI Variable Objectsl Reporting Bugs in GDBm Have you found a bug?m How to report bugsl Command Line Editingm Introduction to Line Editingm Readline Interactionn Readline Bare Essentialsn Readline Movement Commandsn Readline Killing Commandsn Readline Argumentsn Searching for Commands in the Historym Readline Init Filefile:///C|/gdb.html (7 of 352)19. 1. 2004 20:32:03Debugging with GDBn Readline Init File Syntaxn Conditional Init Constructsn Sample Init Filem Bindable Readline Commandsn Commands For Movingn Commands For Manipulating The Historyn Commands For Changing Textn Killing And Yankingn Specifying Numeric Argumentsn Letting Readline Type For Youn Keyboard Macrosn Some Miscellaneous Commandsm Readline vi Model Using History Interactivelym History Expansionn Event Designatorsn Word Designatorsn Modifiersl Formatting Documentationl Installing GDBm Compiling GDB in another directorym Specifying names for hosts and targetsm configure optionsl GNU Free Documentation Licensem ADDENDUM: How to use this License for your documentsl Index
2.48MB
文件大小:
评论区