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