调试圣经——《Debugging with GDB, 9th》

资源大小: 2.47MB
资源类型:pdf文档
发布人: erway   等级:3    
发布日期: 3个月前
Tag: Programming》_Wrox 《Beginning
资源分: 3
下载人数: 93

软件说明:

Table of Contents<br>l Summary of GDB<br>m Free software<br>m Free Software Needs Free Documentation<br>m Contributors to GDB<br>l A Sample GDB Session<br>l Getting In and Out of GDB<br>m Invoking GDB<br>n Choosing files<br>n Choosing modes<br>m Quitting GDB<br>m Shell commands<br>l GDB Commands<br>m Command syntax<br>m Command completion<br>m Getting help<br>l Running Programs Under GDB<br>m Compiling for debugging<br>m Starting your program<br>m Your program's arguments<br>m Your program's environment<br>m Your program's working directory<br>m Your program's input and output<br>file:///C|/gdb.html (1 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>m Debugging an already-running process<br>m Killing the child process<br>m Debugging programs with multiple threads<br>m Debugging programs with multiple processes<br>l Stopping and Continuing<br>m Breakpoints, watchpoints, and catchpoints<br>n Setting breakpoints<br>n Setting watchpoints<br>n Setting catchpoints<br>n Deleting breakpoints<br>n Disabling breakpoints<br>n Break conditions<br>n Breakpoint command lists<br>n Breakpoint menus<br>n "Cannot insert breakpoints"<br>m Continuing and stepping<br>m Signals<br>m Stopping and starting multi-thread programs<br>l Examining the Stack<br>m Stack frames<br>m Backtraces<br>m Selecting a frame<br>m Information about a frame<br>l Examining Source Files<br>m Printing source lines<br>m Searching source files<br>m Specifying source directories<br>m Source and machine code<br>l Examining Data<br>m Expressions<br>m Program variables<br>m Artificial arrays<br>m Output formats<br>m Examining memory<br>m Automatic display<br>m Print settings<br>m Value history<br>m Convenience variables<br>file:///C|/gdb.html (2 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>m Registers<br>m Floating point hardware<br>m Memory Region Attributes<br>n Attributes<br>n Memory Access Mode<br>n Memory Access Size<br>n Data Cache<br>l Tracepoints<br>m Commands to Set Tracepoints<br>n Create and Delete Tracepoints<br>n Enable and Disable Tracepoints<br>n Tracepoint Passcounts<br>n Tracepoint Action Lists<br>n Listing Tracepoints<br>n Starting and Stopping Trace Experiment<br>m Using the collected data<br>n tfind n<br>n tdump<br>n save-tracepoints filename<br>m Convenience Variables for Tracepoints<br>l Using GDB with Different Languages<br>m Switching between source languages<br>n List of filename extensions and languages<br>n Setting the working language<br>n Having GDB infer the source language<br>m Displaying the language<br>m Type and range checking<br>n An overview of type checking<br>n An overview of range checking<br>m Supported languages<br>n C and C++<br>n C and C++ operators<br>n C and C++ constants<br>n C++ expressions<br>n C and C++ defaults<br>n C and C++ type and range checks<br>n GDB and C<br>n GDB features for C++<br>file:///C|/gdb.html (3 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>n Modula-2<br>n Operators<br>n Built-in functions and procedures<br>n Constants<br>n Modula-2 defaults<br>n Deviations from standard Modula-2<br>n Modula-2 type and range checks<br>n The scope operators :: and .<br>n GDB and Modula-2<br>n Chill<br>n How modes are displayed<br>n Locations and their accesses<br>n Values and their Operations<br>n Chill type and range checks<br>n Chill defaults<br>l Examining the Symbol Table<br>l Altering Execution<br>m Assignment to variables<br>m Continuing at a different address<br>m Giving your program a signal<br>m Returning from a function<br>m Calling program functions<br>m Patching programs<br>l GDB Files<br>m Commands to specify files<br>m Errors reading symbol files<br>l Specifying a Debugging Target<br>m Active targets<br>m Commands for managing targets<br>m Choosing target byte order<br>m Remote debugging<br>n The GDB remote serial protocol<br>n What the stub can do for you<br>n What you must do for the stub<br>n Putting it all together<br>n Communication protocol<br>n Using the gdbserver program<br>n Using the gdbserve.nlm program<br>file:///C|/gdb.html (4 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>m Kernel Object Display<br>l Configuration-Specific Information<br>m Native<br>n HP-UX<br>n SVR4 process information<br>n Features for Debugging DJGPP Programs<br>m Embedded Operating Systems<br>n Using GDB with VxWorks<br>n Connecting to VxWorks<br>n VxWorks download<br>n Running tasks<br>m Embedded Processors<br>n AMD A29K Embedded<br>n A29K UDI<br>n EBMON protocol for AMD29K<br>n Communications setup<br>n EB29K cross-debugging<br>n Remote log<br>n ARM<br>n Hitachi H8/300<br>n Connecting to Hitachi boards<br>n Using the E7000 in-circuit emulator<br>n Special GDB commands for Hitachi micros<br>n H8/500<br>n Intel i960<br>n Startup with Nindy<br>n Options for Nindy<br>n Nindy reset command<br>n Mitsubishi M32R/D<br>n M68k<br>n M88K<br>n MIPS Embedded<br>n PowerPC<br>n HP PA Embedded<br>n Hitachi SH<br>n Tsqware Sparclet<br>n Setting file to debug<br>n Connecting to Sparclet<br>file:///C|/gdb.html (5 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>n Sparclet download<br>n Running and debugging<br>n Fujitsu Sparclite<br>n Tandem ST2000<br>n Zilog Z8000<br>m Architectures<br>n A29K<br>n Alpha<br>n MIPS<br>l Controlling GDB<br>m Prompt<br>m Command editing<br>m Command history<br>m Screen size<br>m Numbers<br>m Optional warnings and messages<br>m Optional messages about internal happenings<br>l Canned Sequences of Commands<br>m User-defined commands<br>m User-defined command hooks<br>m Command files<br>m Commands for controlled output<br>l GDB Text User Interface<br>m TUI overview<br>m TUI Key Bindings<br>m TUI specific commands<br>m TUI configuration variables<br>l Using GDB under GNU Emacs<br>l GDB Annotations<br>m What is an Annotation?<br>m The Server Prefix<br>m Values<br>m Frames<br>m Displays<br>m Annotation for GDB Input<br>m Errors<br>m Information on Breakpoints<br>m Invalidation Notices<br>file:///C|/gdb.html (6 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>m Running the Program<br>m Displaying Source<br>m Annotations We Might Want in the Future<br>l The GDB/MI Interface<br>m Function and Purpose<br>m Notation and Terminology<br>m GDB/MI Command Syntax<br>n GDB/MI Input Syntax<br>n GDB/MI Output Syntax<br>n Simple Examples of GDB/MI Interaction<br>m GDB/MI Compatibility with CLI<br>m GDB/MI Output Records<br>n GDB/MI Result Records<br>n GDB/MI Stream Records<br>n GDB/MI Out-of-band Records<br>m GDB/MI Command Description Format<br>m GDB/MI Breakpoint table commands<br>m GDB/MI Data Manipulation<br>m GDB/MI Program control<br>m Miscellaneous GDB commands in GDB/MI<br>m GDB/MI Stack Manipulation Commands<br>m GDB/MI Symbol Query Commands<br>m GDB/MI Target Manipulation Commands<br>m GDB/MI Thread Commands<br>m GDB/MI Tracepoint Commands<br>m GDB/MI Variable Objects<br>l Reporting Bugs in GDB<br>m Have you found a bug?<br>m How to report bugs<br>l Command Line Editing<br>m Introduction to Line Editing<br>m Readline Interaction<br>n Readline Bare Essentials<br>n Readline Movement Commands<br>n Readline Killing Commands<br>n Readline Arguments<br>n Searching for Commands in the History<br>m Readline Init File<br>file:///C|/gdb.html (7 of 352)19. 1. 2004 20:32:03<br>Debugging with GDB<br>n Readline Init File Syntax<br>n Conditional Init Constructs<br>n Sample Init File<br>m Bindable Readline Commands<br>n Commands For Moving<br>n Commands For Manipulating The History<br>n Commands For Changing Text<br>n Killing And Yanking<br>n Specifying Numeric Arguments<br>n Letting Readline Type For You<br>n Keyboard Macros<br>n Some Miscellaneous Commands<br>m Readline vi Mode<br>l Using History Interactively<br>m History Expansion<br>n Event Designators<br>n Word Designators<br>n Modifiers<br>l Formatting Documentation<br>l Installing GDB<br>m Compiling GDB in another directory<br>m Specifying names for hosts and targets<br>m configure options<br>l GNU Free Documentation License<br>m ADDENDUM: How to use this License for your documents<br>l Index

共有评论
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|版权声明|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright©2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo